Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-09-05 14:05:04 +0400
committerVincent Petry <pvince81@owncloud.com>2015-03-13 13:53:21 +0300
commit92cbeefa34d27d1b77e03de952a2ff4fe56c2fec (patch)
treea3709561caac59e368df397b45506bc7bc8232ad
parentb62d20f2ee48f9d120bf1435eb9d5449c4389489 (diff)
Clear statcache before getting the mtime from local storage backends
-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 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);
}