Cache: actually use parameter
This commit is contained in:
parent
299649b40e
commit
d84c3cd014
|
@ -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…
Reference in New Issue