diff options
author | Björn Schießle <schiessle@owncloud.com> | 2012-09-28 18:47:54 +0200 |
---|---|---|
committer | Björn Schießle <schiessle@owncloud.com> | 2012-09-28 18:50:36 +0200 |
commit | 35357f3afb90dec1d0a9755ab0e0504a916c5e5a (patch) | |
tree | c1b2244ce17418ef018a165b508506d17c9ad9fd /lib/filesystemview.php | |
parent | f8f73e267550a46dc4cee5b025e83d786cddb1bb (diff) | |
download | nextcloud-server-35357f3afb90dec1d0a9755ab0e0504a916c5e5a.tar.gz nextcloud-server-35357f3afb90dec1d0a9755ab0e0504a916c5e5a.zip |
etag has to be removed after version rollback to enable the sync client to detect the changes (bug #1829)
Diffstat (limited to 'lib/filesystemview.php')
-rw-r--r-- | lib/filesystemview.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/filesystemview.php b/lib/filesystemview.php index 02a0b521053..2950ced5f9e 100644 --- a/lib/filesystemview.php +++ b/lib/filesystemview.php @@ -451,8 +451,9 @@ class OC_FilesystemView { OC_Filesystem::signal_post_write, array( OC_Filesystem::signal_param_path => $path2) ); - } else { // no real copy, file comes from somewhere else, e.g. version rollback -> just update the file cache without all the other post_write actions + } else { // no real copy, file comes from somewhere else, e.g. version rollback -> just update the file cache and the webdav properties without all the other post_write actions OC_FileCache_Update::update($path2, $this->fakeRoot); + OC_Filesystem::removeETagHook(array("path" => $path2), $this->fakeRoot); } return $result; } |