Cache: actually use parameter

remotes/origin/stable5
Robin Appelman 12 years ago
parent 299649b40e
commit d84c3cd014
  1. 2
      lib/files/cache/scanner.php

@ -74,7 +74,7 @@ class Scanner {
$this->scanFile($parent);
}
}
if ($data['size'] === -1 and $cacheData = $this->cache->get($file)) {
if ($checkExisting and $data['size'] === -1 and $cacheData = $this->cache->get($file)) {
$data['size'] = $cacheData['size'];
}
$this->cache->put($file, $data);

Loading…
Cancel
Save