diff options
author | Lukas Reschke <lukas@owncloud.com> | 2014-12-12 16:43:24 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2014-12-12 16:43:24 +0100 |
commit | 202f1215aa4752a7b5ce10d5ac6e9092a3e1531d (patch) | |
tree | 6a43d662ec08264fffdb944d52bd1c607ac5fd6e | |
parent | d5b26e682cc94c62b8ad1360d4be1e74a55f22a9 (diff) | |
download | nextcloud-server-202f1215aa4752a7b5ce10d5ac6e9092a3e1531d.tar.gz nextcloud-server-202f1215aa4752a7b5ce10d5ac6e9092a3e1531d.zip |
Use limit and offset
-rw-r--r-- | settings/controller/userscontroller.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/controller/userscontroller.php b/settings/controller/userscontroller.php index 579d38f7091..bd0c859b18c 100644 --- a/settings/controller/userscontroller.php +++ b/settings/controller/userscontroller.php @@ -133,7 +133,7 @@ class UsersController extends Controller { if($gid !== '') { $batch = $this->getUsersForUID($this->groupManager->displayNamesInGroup($gid, $pattern, $limit, $offset)); } else { - $batch = $this->userManager->search(''); + $batch = $this->userManager->search('', $limit, $offset); } foreach ($batch as $user) { |