diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-09-05 12:05:04 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2014-12-02 14:25:49 +0100 |
commit | db3f7238dd1d10c826c2e484d1d8c2a720bbec47 (patch) | |
tree | fad44319b591278411c7dda17f9e615ba5550659 /lib | |
parent | e9029f94cb6eb9b37623ea1a2faf8aac11675900 (diff) | |
download | nextcloud-server-db3f7238dd1d10c826c2e484d1d8c2a720bbec47.tar.gz nextcloud-server-db3f7238dd1d10c826c2e484d1d8c2a720bbec47.zip |
Clear statcache before getting the mtime from local storage backends
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/files/storage/local.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/files/storage/local.php b/lib/private/files/storage/local.php index 7b4abf08f44..e8be7daba7e 100644 --- a/lib/private/files/storage/local.php +++ b/lib/private/files/storage/local.php @@ -134,6 +134,7 @@ if (\OC_Util::runningOnWindows()) { } public function filemtime($path) { + clearstatcache($this->getSourcePath($path)); return filemtime($this->getSourcePath($path)); } |