diff options
author | Robin Appelman <icewind@owncloud.com> | 2013-06-14 17:04:17 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2013-06-14 17:05:52 +0200 |
commit | 398fe8bf3255df7ac9d301522401c4a746a0e7f9 (patch) | |
tree | f3ba38fc714b578defda3984cee3162c5dd210d9 /apps/files | |
parent | f10a4db88997b3848a8c149d35dbb68c1b8c5f60 (diff) | |
download | nextcloud-server-398fe8bf3255df7ac9d301522401c4a746a0e7f9.tar.gz nextcloud-server-398fe8bf3255df7ac9d301522401c4a746a0e7f9.zip |
reuse etag when doing a forced rescan
Diffstat (limited to 'apps/files')
-rw-r--r-- | apps/files/ajax/scan.php | 2 |
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(); } |