Browse Source

Also clearstatcache() in MappedLocal before using the stats

Local change 283c10f010
tags/v8.0.0alpha1
Joas Schilling 9 years ago
parent
commit
7761f0288e
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      lib/private/files/storage/mappedlocal.php

+ 1
- 0
lib/private/files/storage/mappedlocal.php View 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)) {

Loading…
Cancel
Save