Scanner: correctly pass trough reuse options when doing a recursive scan
This commit is contained in:
parent
1877a42a0d
commit
f22719b1ee
|
@ -184,7 +184,7 @@ class Scanner extends BasicEmitter {
|
|||
}
|
||||
\OC_DB::commit();
|
||||
foreach ($childQueue as $child) {
|
||||
$childSize = $this->scanChildren($child, self::SCAN_RECURSIVE);
|
||||
$childSize = $this->scanChildren($child, self::SCAN_RECURSIVE, $reuse);
|
||||
if ($childSize === -1) {
|
||||
$size = -1;
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue