summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authoricewind1991 <icewind1991@gmail.com>2013-06-19 04:30:55 -0700
committericewind1991 <icewind1991@gmail.com>2013-06-19 04:30:55 -0700
commitcb41b88520498ca2325aedd180c3fe29474c83bf (patch)
treeaf61f1cc9762d88e8d39717770452904f59f90df /apps
parent8406d3f7b1a8e33c4fbd378660f1510a1d44346d (diff)
parent0b74e71de83801475a029951cdc85d2942307856 (diff)
downloadnextcloud-server-cb41b88520498ca2325aedd180c3fe29474c83bf.tar.gz
nextcloud-server-cb41b88520498ca2325aedd180c3fe29474c83bf.zip
Merge pull request #3764 from owncloud/scanfolder-existing
Improve re-using existing data in the filescanner
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();
}