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

remotes/origin/stable45
Björn Schießle 14 years ago
parent cfbca40fbe
commit a7292e897a
  1. 2
      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;
}

Loading…
Cancel
Save