diff options
author | Bart Visscher <bartv@thisnet.nl> | 2013-02-14 23:29:51 +0100 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2013-02-21 23:47:56 +0100 |
commit | 83f161d3f964a48f6dbe92e69233575b1984c547 (patch) | |
tree | d648e6aa95d256c9581be264905f3c5755927412 /settings/users.php | |
parent | 1a747b3e480a2b44969b1306a5d354e721781c81 (diff) | |
download | nextcloud-server-83f161d3f964a48f6dbe92e69233575b1984c547.tar.gz nextcloud-server-83f161d3f964a48f6dbe92e69233575b1984c547.zip |
Style cleanup settings
Diffstat (limited to 'settings/users.php')
-rw-r--r-- | settings/users.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/settings/users.php b/settings/users.php index 7fcd1d3ed02..94e6d0a9a10 100644 --- a/settings/users.php +++ b/settings/users.php @@ -40,12 +40,14 @@ foreach($quotaPreset as &$preset) { $quotaPreset=array_diff($quotaPreset, array('default', 'none')); $defaultQuota=OC_Appconfig::getValue('files', 'default_quota', 'none'); -$defaultQuotaIsUserDefined=array_search($defaultQuota, $quotaPreset)===false && array_search($defaultQuota, array('none', 'default'))===false; +$defaultQuotaIsUserDefined=array_search($defaultQuota, $quotaPreset)===false + && array_search($defaultQuota, array('none', 'default'))===false; // load users and quota 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; + $isQuotaUserDefined=array_search($quota, $quotaPreset)===false + && array_search($quota, array('none', 'default'))===false; $name = $displayName; if ( $displayName != $uid ) { |