Do scan the root storage in background scan
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
dfe6c1b7e2
commit
5e940366c2
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue