summaryrefslogtreecommitdiffstats
path: root/lib/filesystemview.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/filesystemview.php')
-rw-r--r--lib/filesystemview.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/filesystemview.php b/lib/filesystemview.php
index fcf419e864d..02a0b521053 100644
--- a/lib/filesystemview.php
+++ b/lib/filesystemview.php
@@ -451,6 +451,8 @@ 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
+ OC_FileCache_Update::update($path2, $this->fakeRoot);
}
return $result;
}