Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2013-02-15 02:29:51 +0400
committerBart Visscher <bartv@thisnet.nl>2013-02-22 02:47:56 +0400
commit83f161d3f964a48f6dbe92e69233575b1984c547 (patch)
treed648e6aa95d256c9581be264905f3c5755927412 /settings/users.php
parent1a747b3e480a2b44969b1306a5d354e721781c81 (diff)
Style cleanup settings
Diffstat (limited to 'settings/users.php')
-rw-r--r--settings/users.php6
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 ) {