Skip to content

Commit e39f410

Browse files
authored
Merge pull request #10376 from nextcloud/background-scan-root-13
[13] Do scan the root storage in background scan
2 parents ad16aff + 8aeafc6 commit e39f410

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

lib/private/Files/Utils/Scanner.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -150,11 +150,6 @@ public function backgroundScan($dir) {
150150
continue;
151151
}
152152

153-
// don't scan the root storage
154-
if ($storage->instanceOfStorage('\OC\Files\Storage\Local') && $mount->getMountPoint() === '/') {
155-
continue;
156-
}
157-
158153
// don't scan received local shares, these can be scanned when scanning the owner's storage
159154
if ($storage->instanceOfStorage(SharedStorage::class)) {
160155
continue;

0 commit comments

Comments
 (0)