summaryrefslogtreecommitdiffstats
path: root/lib/user.php
diff options
context:
space:
mode:
authorMichael Gapczynski <mtgap@owncloud.com>2012-08-11 16:09:25 -0400
committerMichael Gapczynski <mtgap@owncloud.com>2012-08-11 16:25:28 -0400
commit4f1b3631ba3356fb3890180b65281b9653a0e714 (patch)
tree92423372dc44747ef086657e2d373a44e1609a9b /lib/user.php
parent400533af2cd1e85a8089b113efff30d24c276625 (diff)
downloadnextcloud-server-4f1b3631ba3356fb3890180b65281b9653a0e714.tar.gz
nextcloud-server-4f1b3631ba3356fb3890180b65281b9653a0e714.zip
Change limit parameter in OC_User as well
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);