summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2013-08-12 15:37:39 +0200
committerRobin Appelman <icewind@owncloud.com>2013-08-12 15:37:39 +0200
commitf22719b1eed9a66dc8978bc81b4bf9778834ca4d (patch)
tree06009ad36e11081c04856bd58bcdb2d4f2c216d0
parent1877a42a0dead02b7593f2b3166583106f32acb0 (diff)
downloadnextcloud-server-f22719b1eed9a66dc8978bc81b4bf9778834ca4d.tar.gz
nextcloud-server-f22719b1eed9a66dc8978bc81b4bf9778834ca4d.zip
Scanner: correctly pass trough reuse options when doing a recursive scan
-rw-r--r--lib/files/cache/scanner.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/files/cache/scanner.php b/lib/files/cache/scanner.php
index adecc2bb901..597eabecf54 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 {