From: Robin Appelman Date: Fri, 14 Jun 2013 15:04:17 +0000 (+0200) Subject: reuse etag when doing a forced rescan X-Git-Tag: v6.0.0alpha2~612^2~2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=398fe8bf3255df7ac9d301522401c4a746a0e7f9;p=nextcloud-server.git reuse etag when doing a forced rescan --- 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(); }