dont preserve mtime when uploading trough the web interface

Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
Robin Appelman 2017-03-13 13:19:41 +01:00
parent 4395cf4fa7
commit ad4b5c82da
No known key found for this signature in database
GPG Key ID: CBCA68FBAEBF98C9
1 changed files with 0 additions and 5 deletions

View File

@ -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) {