summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-09-05 12:05:04 +0200
committerRobin Appelman <icewind@owncloud.com>2014-12-02 14:25:49 +0100
commitdb3f7238dd1d10c826c2e484d1d8c2a720bbec47 (patch)
treefad44319b591278411c7dda17f9e615ba5550659 /lib
parente9029f94cb6eb9b37623ea1a2faf8aac11675900 (diff)
downloadnextcloud-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.php1
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));
}