summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
Diffstat (limited to 'settings')
-rw-r--r--settings/users.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/users.php b/settings/users.php
index e5f01bbbfb2..5651826a6dd 100644
--- a/settings/users.php
+++ b/settings/users.php
@@ -22,7 +22,7 @@ $groups = array();
$isadmin = OC_Group::inGroup(OC_User::getUser(),'admin')?true:false;
if($isadmin){
$accessiblegroups = OC_Group::getGroups();
- $accessibleusers = OC_User::getUsers();
+ $accessibleusers = OC_User::getUsers('', 30);
$subadmins = OC_SubAdmin::getAllSubAdmins();
}else{
$accessiblegroups = OC_SubAdmin::getSubAdminsGroups(OC_User::getUser());