Do scan the root storage in background scan

Signed-off-by: Robin Appelman <robin@icewind.nl>
pull/10375/head
Robin Appelman 8 years ago
parent dfe6c1b7e2
commit 5e940366c2
No known key found for this signature in database
GPG Key ID: 42B69D8A64526EFB
  1. 5
      lib/private/Files/Utils/Scanner.php

@ -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…
Cancel
Save