Fix regression caused by 31b1a73e1f
This commit is contained in:
parent
0da06187f6
commit
65ef780ed6
1 changed files with 3 additions and 1 deletions
|
@ -18,7 +18,9 @@ OC_App::setActiveNavigationEntry( 'core_users' );
|
||||||
$users = array();
|
$users = array();
|
||||||
$groups = array();
|
$groups = array();
|
||||||
|
|
||||||
if(OC_User::isAdminUser(OC_User::getUser())) {
|
$isadmin = OC_User::isAdminUser(OC_User::getUser());
|
||||||
|
|
||||||
|
if($isadmin) {
|
||||||
$accessiblegroups = OC_Group::getGroups();
|
$accessiblegroups = OC_Group::getGroups();
|
||||||
$accessibleusers = OC_User::getUsers('', 30);
|
$accessibleusers = OC_User::getUsers('', 30);
|
||||||
$subadmins = OC_SubAdmin::getAllSubAdmins();
|
$subadmins = OC_SubAdmin::getAllSubAdmins();
|
||||||
|
|
Loading…
Reference in a new issue