summaryrefslogtreecommitdiffstats
path: root/lib/user.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/user.php')
-rw-r--r--lib/user.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/user.php b/lib/user.php
index 95177bc77de..cbd1400844d 100644
--- a/lib/user.php
+++ b/lib/user.php
@@ -338,7 +338,7 @@ class OC_User {
*
* Get a list of all users.
*/
- public static function getUsers($search = '', $limit = 10, $offset = 0) {
+ public static function getUsers($search = '', $limit = -1, $offset = 0) {
$users = array();
foreach (self::$_usedBackends as $backend) {
$backendUsers = $backend->getUsers($search, $limit, $offset);