summaryrefslogtreecommitdiffstats
path: root/lib/filesystemview.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-09-26 17:52:28 +0200
committerRobin Appelman <icewind@owncloud.com>2012-09-26 17:52:28 +0200
commit88bca9bc49343906b5b498f4d3837002d346b3af (patch)
tree7a918e09963310c812617df0328b4331edb3b3d2 /lib/filesystemview.php
parent522d7df860fb47d3cc56e315850dda2797569ac5 (diff)
parenta7292e897a70a2f7e79f61396d4888cb694f0860 (diff)
downloadnextcloud-server-88bca9bc49343906b5b498f4d3837002d346b3af.tar.gz
nextcloud-server-88bca9bc49343906b5b498f4d3837002d346b3af.zip
Merge branch 'master' into filesystem
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 678e6703cf0..210f9dad55a 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;
}