The mtime in the file cache has to be updated after version rollback (copy from outside of the regular files root) (fixes bug #1720)

This commit is contained in:
Björn Schießle 2012-09-26 17:03:54 +02:00
parent cfbca40fbe
commit a7292e897a
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}