internal/status/wisski_user: Add String()

This commit is contained in:
Tom Wiesing 2023-01-16 14:54:57 +01:00
parent e4a46658ae
commit 3321b5d0ba
No known key found for this signature in database
4 changed files with 58 additions and 13 deletions

View file

@ -27,7 +27,7 @@ var (
var usersPHP string
// All returns all known usernames
func (u *Users) All(ctx context.Context, server *phpx.Server) (users []status.User, err error) {
func (u *Users) All(ctx context.Context, server *phpx.Server) (users []status.DrupalUser, err error) {
err = u.Dependencies.PHP.ExecScript(ctx, server, &users, usersPHP, "list_users")
return
}