Commit 202f1215 authored by Lukas Reschke's avatar Lukas Reschke
Browse files

Use limit and offset

parent d5b26e68
......@@ -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) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment