diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2012-11-29 18:30:02 +0100 |
---|---|---|
committer | Jörn Friedrich Dreyer <jfd@butonic.de> | 2012-11-29 18:33:15 +0100 |
commit | 3b83fe153062508d4a4d70958ad1a5281eaab81e (patch) | |
tree | 30f12d25c179e9c40425c6a37686412ff1854c05 /apps/files/admin.php | |
parent | c38a75e03f9db02b82e71472d2f719079eb44829 (diff) | |
download | nextcloud-server-3b83fe153062508d4a4d70958ad1a5281eaab81e.tar.gz nextcloud-server-3b83fe153062508d4a4d70958ad1a5281eaab81e.zip |
fix checkstyle for files app
Diffstat (limited to 'apps/files/admin.php')
-rw-r--r-- | apps/files/admin.php | 3 |
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" ); |