Commit 7761f028 authored by Joas Schilling's avatar Joas Schilling
Browse files

Also clearstatcache() in MappedLocal before using the stats

Local change 283c10f0
parent 50f85bfd
...@@ -109,6 +109,7 @@ class MappedLocal extends \OC\Files\Storage\Common { ...@@ -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)) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment