diff options
author | Björn Schießle <schiessle@owncloud.com> | 2012-09-26 17:03:54 +0200 |
---|---|---|
committer | Björn Schießle <schiessle@owncloud.com> | 2012-09-26 17:03:54 +0200 |
commit | a7292e897a70a2f7e79f61396d4888cb694f0860 (patch) | |
tree | 0e81638eec7ca63fc3a827ca2d5cbf45fd507e33 /lib/filesystemview.php | |
parent | cfbca40fbee14812a69ceb5fda4db7c23645fa9c (diff) | |
download | nextcloud-server-a7292e897a70a2f7e79f61396d4888cb694f0860.tar.gz nextcloud-server-a7292e897a70a2f7e79f61396d4888cb694f0860.zip |
The mtime in the file cache has to be updated after version rollback (copy from outside of the regular files root) (fixes bug #1720)
Diffstat (limited to 'lib/filesystemview.php')
-rw-r--r-- | lib/filesystemview.php | 2 |
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; } |