Do scan the root storage in background scan

Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
Robin Appelman 2018-07-24 14:15:27 +02:00
parent dfe6c1b7e2
commit 5e940366c2
No known key found for this signature in database
GPG Key ID: 42B69D8A64526EFB
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;