summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2014-12-12 16:43:24 +0100
committerLukas Reschke <lukas@owncloud.com>2014-12-12 16:43:24 +0100
commit202f1215aa4752a7b5ce10d5ac6e9092a3e1531d (patch)
tree6a43d662ec08264fffdb944d52bd1c607ac5fd6e
parentd5b26e682cc94c62b8ad1360d4be1e74a55f22a9 (diff)
downloadnextcloud-server-202f1215aa4752a7b5ce10d5ac6e9092a3e1531d.tar.gz
nextcloud-server-202f1215aa4752a7b5ce10d5ac6e9092a3e1531d.zip
Use limit and offset
-rw-r--r--settings/controller/userscontroller.php2
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) {