From: Robin Appelman Date: Fri, 5 Sep 2014 10:05:04 +0000 (+0200) Subject: Clear statcache before getting the mtime from local storage backends X-Git-Tag: v7.0.6RC1~17^2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=92cbeefa34d27d1b77e03de952a2ff4fe56c2fec;p=nextcloud-server.git Clear statcache before getting the mtime from local storage backends --- diff --git a/lib/private/files/storage/local.php b/lib/private/files/storage/local.php index e33747bbd52..3204082a468 100644 --- a/lib/private/files/storage/local.php +++ b/lib/private/files/storage/local.php @@ -130,6 +130,7 @@ if (\OC_Util::runningOnWindows()) { } public function filemtime($path) { + clearstatcache($this->datadir . $path); return filemtime($this->datadir . $path); }