summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2013-01-25 11:48:03 +0100
committerBjörn Schießle <schiessle@owncloud.com>2013-01-25 11:48:03 +0100
commit4271430e609be252d9b4a69fd7b3590571c14f7c (patch)
tree2c5c5bf9bf16e17a18488fcea6cc0f7f28e8aad2 /settings
parent9bb8e0583995fff244432bc34820127ef8ff6ac6 (diff)
downloadnextcloud-server-4271430e609be252d9b4a69fd7b3590571c14f7c.tar.gz
nextcloud-server-4271430e609be252d9b4a69fd7b3590571c14f7c.zip
get all display names from users in a given group
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 3706dc918c0..bf27e804411 100644
--- a/settings/users.php
+++ b/settings/users.php
@@ -26,7 +26,7 @@ if($isadmin) {
$subadmins = OC_SubAdmin::getAllSubAdmins();
}else{
$accessiblegroups = OC_SubAdmin::getSubAdminsGroups(OC_User::getUser());
- $accessibleusers = OC_Group::usersInGroups($accessiblegroups, '', 30);
+ $accessibleusers = OC_Group::displayNamesInGroups($accessiblegroups, '', 30);
$subadmins = false;
}