summaryrefslogtreecommitdiffstats
path: root/apps/files/admin.php
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-11-30 04:10:31 -0800
committerBart Visscher <bartv@thisnet.nl>2012-11-30 04:10:31 -0800
commit8aba5874db5049a69ade3c740b05f7462a589ef9 (patch)
tree1f3e01ae8831e04cf3ac514b9c9afbcd94423854 /apps/files/admin.php
parentf820596825883828d4f45a10a9f3a9317af3de1d (diff)
parent3b83fe153062508d4a4d70958ad1a5281eaab81e (diff)
downloadnextcloud-server-8aba5874db5049a69ade3c740b05f7462a589ef9.tar.gz
nextcloud-server-8aba5874db5049a69ade3c740b05f7462a589ef9.zip
Merge pull request #644 from butonic/checkstyle_fixes
fix checkstyle for files app
Diffstat (limited to 'apps/files/admin.php')
-rw-r--r--apps/files/admin.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files/admin.php b/apps/files/admin.php
index 76616bc4373..80fd4f4e4a5 100644
--- a/apps/files/admin.php
+++ b/apps/files/admin.php
@@ -49,7 +49,8 @@ if($_POST && OC_Util::isCallRegistered()) {
OCP\Config::setSystemValue('allowZipDownload', isset($_POST['allowZipDownload']));
}
}
-$maxZipInputSize = OCP\Util::humanFileSize(OCP\Config::getSystemValue('maxZipInputSize', OCP\Util::computerFileSize('800 MB')));
+$maxZipInputSizeDefault = OCP\Util::computerFileSize('800 MB');
+$maxZipInputSize = OCP\Util::humanFileSize(OCP\Config::getSystemValue('maxZipInputSize', $maxZipInputSizeDefault));
$allowZipDownload = intval(OCP\Config::getSystemValue('allowZipDownload', true));
OCP\App::setActiveNavigationEntry( "files_administration" );