mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 09:42:09 -04:00
reuse etag when doing a forced rescan
This commit is contained in:
parent
f10a4db889
commit
398fe8bf32
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue