Rename $accessibleusers to $accessibleUsers

This commit is contained in:
Lukas Reschke 2014-04-20 00:22:55 +02:00 committed by Arthur Schiwon
parent 0067306fd6
commit 59fef54e92

View file

@ -43,10 +43,10 @@ $recoveryAdminEnabled = OC_App::isEnabled('files_encryption') &&
OC_Appconfig::getValue( 'files_encryption', 'recoveryAdminEnabled' );
if($isAdmin) {
$accessibleusers = OC_User::getDisplayNames('', 30);
$accessibleUsers = OC_User::getDisplayNames('', 30);
$subadmins = OC_SubAdmin::getAllSubAdmins();
}else{
$accessibleusers = OC_Group::displayNamesInGroups($groups, '', 30);
$accessibleUsers = OC_Group::displayNamesInGroups($groups, '', 30);
$subadmins = false;
}
@ -63,7 +63,7 @@ $defaultQuotaIsUserDefined=array_search($defaultQuota, $quotaPreset)===false
&& array_search($defaultQuota, array('none', 'default'))===false;
// load users and quota
foreach($accessibleusers as $uid => $displayName) {
foreach($accessibleUsers as $uid => $displayName) {
$quota=OC_Preferences::getValue($uid, 'files', 'quota', 'default');
$isQuotaUserDefined=array_search($quota, $quotaPreset)===false
&& array_search($quota, array('none', 'default'))===false;