summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2013-06-14 17:04:17 +0200
committerRobin Appelman <icewind@owncloud.com>2013-06-14 17:05:52 +0200
commit398fe8bf3255df7ac9d301522401c4a746a0e7f9 (patch)
treef3ba38fc714b578defda3984cee3162c5dd210d9 /apps
parentf10a4db88997b3848a8c149d35dbb68c1b8c5f60 (diff)
downloadnextcloud-server-398fe8bf3255df7ac9d301522401c4a746a0e7f9.tar.gz
nextcloud-server-398fe8bf3255df7ac9d301522401c4a746a0e7f9.zip
reuse etag when doing a forced rescan
Diffstat (limited to 'apps')
-rw-r--r--apps/files/ajax/scan.php2
1 files changed, 1 insertions, 1 deletions
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();
}