diff options
author | Daniel Molkentin <daniel@molkentin.de> | 2013-01-15 22:44:40 +0100 |
---|---|---|
committer | Daniel Molkentin <daniel@molkentin.de> | 2013-01-15 22:44:40 +0100 |
commit | 65ef780ed69dcbddf803c57d720d625fb2848d84 (patch) | |
tree | edbfc544c4f162601167060c88041d83ff717188 /settings/users.php | |
parent | 0da06187f6b1006db67b5d34281fd51a56054d21 (diff) | |
download | nextcloud-server-65ef780ed69dcbddf803c57d720d625fb2848d84.tar.gz nextcloud-server-65ef780ed69dcbddf803c57d720d625fb2848d84.zip |
Fix regression caused by 31b1a73e1f508a33843835b632ee05c7bfc2aaaf
Diffstat (limited to 'settings/users.php')
-rw-r--r-- | settings/users.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/settings/users.php b/settings/users.php index 1a32a7ecb5b..de40c7d8ef0 100644 --- a/settings/users.php +++ b/settings/users.php @@ -18,7 +18,9 @@ OC_App::setActiveNavigationEntry( 'core_users' ); $users = array(); $groups = array(); -if(OC_User::isAdminUser(OC_User::getUser())) { +$isadmin = OC_User::isAdminUser(OC_User::getUser()); + +if($isadmin) { $accessiblegroups = OC_Group::getGroups(); $accessibleusers = OC_User::getUsers('', 30); $subadmins = OC_SubAdmin::getAllSubAdmins(); |