dont preserve mtime when uploading trough the web interface
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
4395cf4fa7
commit
ad4b5c82da
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue