summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-11-27 11:53:12 +0100
committerJoas Schilling <nickvergessen@gmx.de>2014-11-27 14:59:10 +0100
commit7761f0288e39c5af1815d783e0f98eeb94759889 (patch)
tree8565b7d401199b4bbc561a38f1a852820e1fecc1
parent50f85bfd1f0856cd8a3446570d6de4c234685bf6 (diff)
downloadnextcloud-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.php1
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)) {