diff options
author | Robin Appelman <robin@icewind.nl> | 2017-03-13 15:48:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-13 15:48:59 +0100 |
commit | c1cf872f1d99a614bf9d070d1923b78e3e2e26fb (patch) | |
tree | 6b5fb13dadf994bbfcf92601f5e828db414af639 /apps | |
parent | 308e8bb5ecbc54759f10b132442065cdabf26610 (diff) | |
parent | ad4b5c82da52a373780f9a98f7b9759febfa2dac (diff) | |
download | nextcloud-server-c1cf872f1d99a614bf9d070d1923b78e3e2e26fb.tar.gz nextcloud-server-c1cf872f1d99a614bf9d070d1923b78e3e2e26fb.zip |
Merge pull request #3822 from nextcloud/webui-upoad-no-mtime
dont preserve mtime when uploading trough the web interface
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files/js/file-upload.js | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/apps/files/js/file-upload.js b/apps/files/js/file-upload.js index 6f9fd9aafea..2b28380e0b0 100644 --- a/apps/files/js/file-upload.js +++ b/apps/files/js/file-upload.js @@ -220,11 +220,6 @@ OC.FileUpload.prototype = { this.data.headers['If-None-Match'] = '*'; } - if (file.lastModified) { - // preserve timestamp - this.data.headers['X-OC-Mtime'] = (file.lastModified / 1000).toFixed(0); - } - var userName = this.uploader.filesClient.getUserName(); var password = this.uploader.filesClient.getPassword(); if (userName) { |