Fix regression caused by 31b1a73e1f

This commit is contained in:
Daniel Molkentin 2013-01-15 22:44:40 +01:00
parent 0da06187f6
commit 65ef780ed6

View file

@ -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();