From f22719b1eed9a66dc8978bc81b4bf9778834ca4d Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Mon, 12 Aug 2013 15:37:39 +0200 Subject: [PATCH] Scanner: correctly pass trough reuse options when doing a recursive scan --- lib/files/cache/scanner.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/files/cache/scanner.php b/lib/files/cache/scanner.php index adecc2bb90..597eabecf5 100644 --- a/lib/files/cache/scanner.php +++ b/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 {