Use limit and offset

This commit is contained in:
Lukas Reschke 2014-12-12 16:43:24 +01:00
parent d5b26e682c
commit 202f1215aa
1 changed files with 1 additions and 1 deletions

View File

@ -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) {