Also clearstatcache() in MappedLocal before using the stats

Local change 283c10f010
This commit is contained in:
Joas Schilling 2014-11-27 11:53:12 +01:00
parent 50f85bfd1f
commit 7761f0288e

View File

@ -109,6 +109,7 @@ class MappedLocal extends \OC\Files\Storage\Common {
} }
public function stat($path) { public function stat($path) {
clearstatcache();
$fullPath = $this->getSourcePath($path); $fullPath = $this->getSourcePath($path);
$statResult = stat($fullPath); $statResult = stat($fullPath);
if (PHP_INT_SIZE === 4 && !$this->is_dir($path)) { if (PHP_INT_SIZE === 4 && !$this->is_dir($path)) {