summaryrefslogtreecommitdiffstats
path: root/lib/group.php
diff options
context:
space:
mode:
authorMichael Gapczynski <mtgap@owncloud.com>2012-08-11 16:06:31 -0400
committerMichael Gapczynski <mtgap@owncloud.com>2012-08-11 16:25:27 -0400
commit874f31b8d773cc0df3572c275d1ac42642a7f719 (patch)
tree89db1284bdd10cf570ec017a215c4ec273150e91 /lib/group.php
parent9d2ae5fa1f2feed1c3907747b3bccd1193cb2981 (diff)
downloadnextcloud-server-874f31b8d773cc0df3572c275d1ac42642a7f719.tar.gz
nextcloud-server-874f31b8d773cc0df3572c275d1ac42642a7f719.zip
Make getting all users and groups the default
Diffstat (limited to 'lib/group.php')
-rw-r--r--lib/group.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/group.php b/lib/group.php
index a3bdbf9e003..e47b770f597 100644
--- a/lib/group.php
+++ b/lib/group.php
@@ -237,7 +237,7 @@ class OC_Group {
*
* Returns a list with all groups
*/
- public static function getGroups($search = '', $limit = 10, $offset = 0) {
+ public static function getGroups($search = '', $limit = -1, $offset = 0) {
$groups = array();
foreach (self::$_usedBackends as $backend) {
$groups = array_merge($backend->getGroups($search, $limit, $offset), $groups);