mirror of
https://github.com/nextcloud/server.git
synced 2026-03-21 10:00:33 -04:00
fix: search and searchDisplayNames reverted to how it was initially as sort and order are not required here
Signed-off-by: yemkareems <yemkareems@gmail.com>
This commit is contained in:
parent
dc6e8c9c0a
commit
695bd042d7
1 changed files with 1 additions and 2 deletions
|
|
@ -272,10 +272,10 @@ class Manager extends PublicEmitter implements IUserManager {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
uasort($users, function (IUser $a, IUser $b) {
|
||||
return strcasecmp($a->getUID(), $b->getUID());
|
||||
});
|
||||
|
||||
return $users;
|
||||
}
|
||||
|
||||
|
|
@ -301,7 +301,6 @@ class Manager extends PublicEmitter implements IUserManager {
|
|||
usort($users, function (IUser $a, IUser $b) {
|
||||
return strcasecmp($a->getDisplayName(), $b->getDisplayName());
|
||||
});
|
||||
|
||||
return $users;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue