Merge pull request #10376 from nextcloud/background-scan-root-13

[13] Do scan the root storage in background scan
This commit is contained in:
Roeland Jago Douma 2018-07-24 16:17:29 +02:00 committed by GitHub
commit e39f410a2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 5 deletions

View File

@ -150,11 +150,6 @@ class Scanner extends PublicEmitter {
continue;
}
// don't scan the root storage
if ($storage->instanceOfStorage('\OC\Files\Storage\Local') && $mount->getMountPoint() === '/') {
continue;
}
// don't scan received local shares, these can be scanned when scanning the owner's storage
if ($storage->instanceOfStorage(SharedStorage::class)) {
continue;