diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-09-05 14:05:04 +0400 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2015-03-13 13:53:21 +0300 |
commit | 92cbeefa34d27d1b77e03de952a2ff4fe56c2fec (patch) | |
tree | a3709561caac59e368df397b45506bc7bc8232ad | |
parent | b62d20f2ee48f9d120bf1435eb9d5449c4389489 (diff) |
Clear statcache before getting the mtime from local storage backends
-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 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); } |