diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2014-11-27 11:53:12 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2014-11-27 14:59:10 +0100 |
commit | 7761f0288e39c5af1815d783e0f98eeb94759889 (patch) | |
tree | 8565b7d401199b4bbc561a38f1a852820e1fecc1 | |
parent | 50f85bfd1f0856cd8a3446570d6de4c234685bf6 (diff) | |
download | nextcloud-server-7761f0288e39c5af1815d783e0f98eeb94759889.tar.gz nextcloud-server-7761f0288e39c5af1815d783e0f98eeb94759889.zip |
Also clearstatcache() in MappedLocal before using the stats
Local change 283c10f010f5da4ca0b6b7658ac1fa730b8858bf
-rw-r--r-- | lib/private/files/storage/mappedlocal.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/files/storage/mappedlocal.php b/lib/private/files/storage/mappedlocal.php index f7d448d14a1..fe6fff4ebdb 100644 --- a/lib/private/files/storage/mappedlocal.php +++ b/lib/private/files/storage/mappedlocal.php @@ -109,6 +109,7 @@ class MappedLocal extends \OC\Files\Storage\Common { } public function stat($path) { + clearstatcache(); $fullPath = $this->getSourcePath($path); $statResult = stat($fullPath); if (PHP_INT_SIZE === 4 && !$this->is_dir($path)) { |