Skip to content
Snippets Groups Projects
Commit a7292e89 authored by Björn Schießle's avatar Björn Schießle
Browse files

The mtime in the file cache has to be updated after version rollback (copy...

The mtime in the file cache has to be updated after version rollback (copy from outside of the regular files root) (fixes bug #1720)
parent cfbca40f
No related branches found
No related tags found
No related merge requests found
...@@ -451,6 +451,8 @@ class OC_FilesystemView { ...@@ -451,6 +451,8 @@ class OC_FilesystemView {
OC_Filesystem::signal_post_write, OC_Filesystem::signal_post_write,
array( OC_Filesystem::signal_param_path => $path2) 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
OC_FileCache_Update::update($path2, $this->fakeRoot);
} }
return $result; return $result;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment