From a498876aa61287a01a18b279f497e57a5f15572b Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Fri, 14 Jun 2013 17:04:17 +0200 Subject: [PATCH] reuse etag when doing a forced rescan --- apps/files/ajax/scan.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/files/ajax/scan.php b/apps/files/ajax/scan.php index 391b98608bd..6659cd459c8 100644 --- a/apps/files/ajax/scan.php +++ b/apps/files/ajax/scan.php @@ -24,7 +24,7 @@ foreach ($mountPoints as $mountPoint) { ScanListener::$mountPoints[$storage->getId()] = $mountPoint; $scanner = $storage->getScanner(); if ($force) { - $scanner->scan(''); + $scanner->scan('', \OC\Files\Cache\Scanner::SCAN_RECURSIVE, \OC\Files\Cache\Scanner::REUSE_ETAG); } else { $scanner->backgroundScan(); } -- 2.39.5