summaryrefslogtreecommitdiffstats
path: root/settings/users.php
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2013-01-14 20:30:28 +0100
committerBart Visscher <bartv@thisnet.nl>2013-01-16 18:09:16 +0100
commita8f963d9cf5b243cae497450af78c20cbc367b4b (patch)
treefd23acd48a702fe247e81c25e1f98a6f214a30ae /settings/users.php
parentcb0fd30458c29db7667582b7c182b4d530366634 (diff)
downloadnextcloud-server-a8f963d9cf5b243cae497450af78c20cbc367b4b.tar.gz
nextcloud-server-a8f963d9cf5b243cae497450af78c20cbc367b4b.zip
Spaces to tabs
Diffstat (limited to 'settings/users.php')
-rw-r--r--settings/users.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/settings/users.php b/settings/users.php
index de40c7d8ef0..668d974693a 100644
--- a/settings/users.php
+++ b/settings/users.php
@@ -34,7 +34,7 @@ if($isadmin) {
$quotaPreset=OC_Appconfig::getValue('files', 'quota_preset', '1 GB, 5 GB, 10 GB');
$quotaPreset=explode(',', $quotaPreset);
foreach($quotaPreset as &$preset) {
- $preset=trim($preset);
+ $preset=trim($preset);
}
$quotaPreset=array_diff($quotaPreset, array('default', 'none'));
@@ -43,14 +43,14 @@ $defaultQuotaIsUserDefined=array_search($defaultQuota, $quotaPreset)===false &&
// load users and quota
foreach($accessibleusers as $i) {
- $quota=OC_Preferences::getValue($i, 'files', 'quota', 'default');
- $isQuotaUserDefined=array_search($quota, $quotaPreset)===false && array_search($quota, array('none', 'default'))===false;
+ $quota=OC_Preferences::getValue($i, 'files', 'quota', 'default');
+ $isQuotaUserDefined=array_search($quota, $quotaPreset)===false && array_search($quota, array('none', 'default'))===false;
$users[] = array(
"name" => $i,
"groups" => join( ", ", /*array_intersect(*/OC_Group::getUserGroups($i)/*, OC_SubAdmin::getSubAdminsGroups(OC_User::getUser()))*/),
- 'quota'=>$quota,
- 'isQuotaUserDefined'=>$isQuotaUserDefined,
+ 'quota'=>$quota,
+ 'isQuotaUserDefined'=>$isQuotaUserDefined,
'subadmin'=>implode(', ', OC_SubAdmin::getSubAdminsGroups($i)));
}