diff options
author | Vincent Petry <pvince81@owncloud.com> | 2016-09-19 21:29:48 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2016-11-02 20:43:35 +0100 |
commit | 7e701504be9352d21a25d17adca45dc5ed79d792 (patch) | |
tree | 57a8c3b2945f26281f069777db6f8c689bc304b5 /apps/files/js/files.js | |
parent | e6b52ef4cd1a92004895320d52f08b44a8b422d3 (diff) | |
download | nextcloud-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/js/files.js')
-rw-r--r-- | apps/files/js/files.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/apps/files/js/files.js b/apps/files/js/files.js index 0be098b2e73..1681e2c7e48 100644 --- a/apps/files/js/files.js +++ b/apps/files/js/files.js @@ -59,7 +59,6 @@ return; } if (response.data !== undefined && response.data.uploadMaxFilesize !== undefined) { - $('#max_upload').val(response.data.uploadMaxFilesize); $('#free_space').val(response.data.freeSpace); $('#upload.button').attr('data-original-title', response.data.maxHumanFilesize); $('#usedSpacePercent').val(response.data.usedSpacePercent); @@ -71,7 +70,6 @@ return; } if (response[0].uploadMaxFilesize !== undefined) { - $('#max_upload').val(response[0].uploadMaxFilesize); $('#upload.button').attr('data-original-title', response[0].maxHumanFilesize); $('#usedSpacePercent').val(response[0].usedSpacePercent); Files.displayStorageWarnings(); |