reuse etag when doing a forced rescan

This commit is contained in:
Robin Appelman 2013-06-14 17:04:17 +02:00
parent f10a4db889
commit 398fe8bf32
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}