Scanner: correctly pass trough reuse options when doing a recursive scan

This commit is contained in:
Robin Appelman 2013-08-12 15:37:39 +02:00
parent 1877a42a0d
commit f22719b1ee
1 changed files with 1 additions and 1 deletions

View File

@ -184,7 +184,7 @@ class Scanner extends BasicEmitter {
} }
\OC_DB::commit(); \OC_DB::commit();
foreach ($childQueue as $child) { foreach ($childQueue as $child) {
$childSize = $this->scanChildren($child, self::SCAN_RECURSIVE); $childSize = $this->scanChildren($child, self::SCAN_RECURSIVE, $reuse);
if ($childSize === -1) { if ($childSize === -1) {
$size = -1; $size = -1;
} else { } else {