summaryrefslogtreecommitdiffstats
path: root/apps/files/list.php
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2016-09-19 21:29:48 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2016-11-02 20:43:35 +0100
commit7e701504be9352d21a25d17adca45dc5ed79d792 (patch)
tree57a8c3b2945f26281f069777db6f8c689bc304b5 /apps/files/list.php
parente6b52ef4cd1a92004895320d52f08b44a8b422d3 (diff)
downloadnextcloud-server-7e701504be9352d21a25d17adca45dc5ed79d792.tar.gz
nextcloud-server-7e701504be9352d21a25d17adca45dc5ed79d792.zip
Remove upload_limit in files app as it is not needed with PUT upload (#26069)
The web UI now uses for PUT uploads which aren't restricted by PHP's upload_max_filesize and post_max_size Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'apps/files/list.php')
-rw-r--r--apps/files/list.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/apps/files/list.php b/apps/files/list.php
index a932cc9a805..93044d4c587 100644
--- a/apps/files/list.php
+++ b/apps/files/list.php
@@ -24,11 +24,9 @@
$config = \OC::$server->getConfig();
// TODO: move this to the generated config.js
$publicUploadEnabled = $config->getAppValue('core', 'shareapi_allow_public_upload', 'yes');
-$uploadLimit=OCP\Util::uploadLimit();
// renders the controls and table headers template
$tmpl = new OCP\Template('files', 'list', '');
-$tmpl->assign('uploadLimit', $uploadLimit); // PHP upload limit
$tmpl->assign('publicUploadEnabled', $publicUploadEnabled);
$tmpl->printPage();