summaryrefslogtreecommitdiffstats
path: root/apps/files/lib/App.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files/lib/App.php')
-rw-r--r--apps/files/lib/App.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/lib/App.php b/apps/files/lib/App.php
index b756b123c43..0bf9ae20525 100644
--- a/apps/files/lib/App.php
+++ b/apps/files/lib/App.php
@@ -57,7 +57,7 @@ class App {
public static function extendJsConfig($settings) {
$appConfig = json_decode($settings['array']['oc_appconfig'], true);
- $maxChunkSize = (int)(\OC::$server->getConfig()->getAppValue('files', 'max_chunk_size', (10 * 1024 * 1024)));
+ $maxChunkSize = (int)\OC::$server->getConfig()->getAppValue('files', 'max_chunk_size', 10 * 1024 * 1024);
$appConfig['files'] = [
'max_chunk_size' => $maxChunkSize
];