diff options
author | Robin Appelman <robin@icewind.nl> | 2018-07-24 14:15:27 +0200 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2018-07-24 14:15:27 +0200 |
commit | 5e940366c2fa328235a9d3b2503d379a7cd76517 (patch) | |
tree | a17a4d879d1b86f641e316d9f480d503d72bd2fb /lib/private | |
parent | dfe6c1b7e2a179a0c7aee0f43a722bf1e3e3cf3d (diff) | |
download | nextcloud-server-5e940366c2fa328235a9d3b2503d379a7cd76517.tar.gz nextcloud-server-5e940366c2fa328235a9d3b2503d379a7cd76517.zip |
Do scan the root storage in background scan
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib/private')
-rw-r--r-- | lib/private/Files/Utils/Scanner.php | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/private/Files/Utils/Scanner.php b/lib/private/Files/Utils/Scanner.php index fe2bf4ccb58..28921973fcf 100644 --- a/lib/private/Files/Utils/Scanner.php +++ b/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; |