diff options
Diffstat (limited to 'admin/users.php')
-rw-r--r-- | admin/users.php | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/admin/users.php b/admin/users.php index 4a83510cb72..b120e10d437 100644 --- a/admin/users.php +++ b/admin/users.php @@ -38,12 +38,7 @@ $users = array(); $groups = array(); foreach( OC_User::getUsers() as $i ){ - // Do some more work here soon - $ingroups = array(); - foreach( OC_Group::getUserGroups( $i ) as $userGroup ){ - $ingroups[] = $userGroup; - } - $users[] = array( "name" => $i, "groups" => join( ", ", $ingroups )); + $users[] = array( "name" => $i, "groups" => join( ", ", OC_Group::getUserGroups( $i ) )); } foreach( OC_Group::getGroups() as $i ){ |