diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2018-01-12 15:35:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-12 15:35:49 +0100 |
commit | daa33938a64a1c469cfe3b19a32fde1730e38054 (patch) | |
tree | 8425c2815ad25ffa0d3970280acc8ffbafe749e3 | |
parent | 1993eb05cc47c6c9001e7d7e5fef147b510b92db (diff) | |
parent | 01040daf0262d56afbd4a6f74a895e61b8505be0 (diff) | |
download | nextcloud-server-daa33938a64a1c469cfe3b19a32fde1730e38054.tar.gz nextcloud-server-daa33938a64a1c469cfe3b19a32fde1730e38054.zip |
Merge pull request #7811 from nextcloud/fix-clearstatcache
Fix call to clearstatcache to actually use the file path
-rw-r--r-- | lib/private/Files/Storage/Local.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Files/Storage/Local.php b/lib/private/Files/Storage/Local.php index 731481d4f4f..ba9b15ce931 100644 --- a/lib/private/Files/Storage/Local.php +++ b/lib/private/Files/Storage/Local.php @@ -180,7 +180,7 @@ class Local extends \OC\Files\Storage\Common { public function filemtime($path) { $fullPath = $this->getSourcePath($path); - clearstatcache($fullPath); + clearstatcache(true, $fullPath); if (!$this->file_exists($path)) { return false; } |