]> source.dussan.org Git - nextcloud-server.git/commitdiff
Also clearstatcache() in MappedLocal before using the stats
authorJoas Schilling <nickvergessen@gmx.de>
Thu, 27 Nov 2014 10:53:12 +0000 (11:53 +0100)
committerJoas Schilling <nickvergessen@gmx.de>
Thu, 27 Nov 2014 13:59:10 +0000 (14:59 +0100)
Local change 283c10f010f5da4ca0b6b7658ac1fa730b8858bf

lib/private/files/storage/mappedlocal.php

index f7d448d14a1ac5a080a971f4dd667d31738a4a5e..fe6fff4ebdbbf4758113d0880da61460c635fcaf 100644 (file)
@@ -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)) {