diff options
-rw-r--r-- | lib/private/files/storage/local.php | 1 | ||||
-rw-r--r-- | lib/private/files/storage/mappedlocal.php | 1 |
2 files changed, 2 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)); } diff --git a/lib/private/files/storage/mappedlocal.php b/lib/private/files/storage/mappedlocal.php index fe6fff4ebdb..8f813f973b9 100644 --- a/lib/private/files/storage/mappedlocal.php +++ b/lib/private/files/storage/mappedlocal.php @@ -153,6 +153,7 @@ class MappedLocal extends \OC\Files\Storage\Common { } public function filemtime($path) { + clearstatcache($this->getSourcePath($path)); return filemtime($this->getSourcePath($path)); } |