mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
Cache: actually use parameter
This commit is contained in:
parent
299649b40e
commit
d84c3cd014
1 changed files with 1 additions and 1 deletions
2
lib/files/cache/scanner.php
vendored
2
lib/files/cache/scanner.php
vendored
|
|
@ -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 a new issue