diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2020-05-23 10:46:27 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-23 10:46:27 +0300 |
commit | 533cb6992b0e4516875d69b821cfddb76482769e (patch) | |
tree | 4bf200094c9b11c5587b3bf26bdb88a4536d1c96 /lib | |
parent | 23080fcd9c30f71ecf575f0d4fb8b78f3ff45537 (diff) | |
parent | 6b2674478770e1b09aedc4e32613a4e01f9075b9 (diff) |
Merge pull request #21065 from nextcloud/fix/cleanstatscache_before_fetching_metadata
Clear the statscache before fetching the metadata
Diffstat (limited to 'lib')
-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 6da019178c0..4cf3ac4799f 100644 --- a/lib/private/Files/Storage/Local.php +++ b/lib/private/Files/Storage/Local.php @@ -156,6 +156,7 @@ class Local extends \OC\Files\Storage\Common { */ public function getMetaData($path) { $fullPath = $this->getSourcePath($path); + clearstatcache(); $stat = @stat($fullPath); if (!$stat) { return null; |