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

remotes/origin/stable6
Robin Appelman 13 years ago
parent 1877a42a0d
commit f22719b1ee
  1. 2
      lib/files/cache/scanner.php

@ -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…
Cancel
Save