From db3f7238dd1d10c826c2e484d1d8c2a720bbec47 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Fri, 5 Sep 2014 12:05:04 +0200 Subject: [PATCH] Clear statcache before getting the mtime from local storage backends --- lib/private/files/storage/local.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/private/files/storage/local.php b/lib/private/files/storage/local.php index 7b4abf08f4..e8be7daba7 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)); }