summaryrefslogtreecommitdiffstats
path: root/lib/public/user.php
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2012-09-01 20:49:50 +0200
committerJörn Friedrich Dreyer <jfd@butonic.de>2012-09-01 20:50:03 +0200
commit2c1f732880ebb43247bdaec73329777b99bcebf0 (patch)
tree308b978fa40327301e549e1d456ca65a0020898f /lib/public/user.php
parent828ca2ba3624d4fb39970a84733dcbb6ab836336 (diff)
downloadnextcloud-server-2c1f732880ebb43247bdaec73329777b99bcebf0.tar.gz
nextcloud-server-2c1f732880ebb43247bdaec73329777b99bcebf0.zip
use null instead of -1 on all getUser()
Diffstat (limited to 'lib/public/user.php')
-rw-r--r--lib/public/user.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public/user.php b/lib/public/user.php
index 6228268d75b..327e2a77355 100644
--- a/lib/public/user.php
+++ b/lib/public/user.php
@@ -51,7 +51,7 @@ class User {
*
* Get a list of all users.
*/
- public static function getUsers($search = '', $limit = -1, $offset = 0) {
+ public static function getUsers($search = '', $limit = null, $offset = null) {
return \OC_USER::getUsers();
}