From 5e940366c2fa328235a9d3b2503d379a7cd76517 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Tue, 24 Jul 2018 14:15:27 +0200 Subject: [PATCH] Do scan the root storage in background scan Signed-off-by: Robin Appelman --- lib/private/Files/Utils/Scanner.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/private/Files/Utils/Scanner.php b/lib/private/Files/Utils/Scanner.php index fe2bf4ccb585c..28921973fcf22 100644 --- a/lib/private/Files/Utils/Scanner.php +++ b/lib/private/Files/Utils/Scanner.php @@ -151,11 +151,6 @@ public function backgroundScan($dir) { 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;