Merge pull request #10375 from nextcloud/background-scan-root

Do scan the root storage in background scan
This commit is contained in:
Morris Jobke 2018-07-24 15:20:49 +02:00 committed by GitHub
commit 0280245fdd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 5 deletions

View File

@ -151,11 +151,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;