]> source.dussan.org Git - nextcloud-server.git/commitdiff
Scanner: correctly pass trough reuse options when doing a recursive scan
authorRobin Appelman <icewind@owncloud.com>
Mon, 12 Aug 2013 13:37:39 +0000 (15:37 +0200)
committerRobin Appelman <icewind@owncloud.com>
Mon, 12 Aug 2013 15:30:23 +0000 (17:30 +0200)
lib/files/cache/scanner.php

index 65759a34fd27bcff853414dd567fe91bb600f8fe..0c510eee96f030db923d3e80260599030a6d8f22 100644 (file)
@@ -182,7 +182,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 {