summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-07-24 15:20:49 +0200
committerGitHub <noreply@github.com>2018-07-24 15:20:49 +0200
commit0280245fdddc0881d58cd9ec0ecb406e9ff94396 (patch)
treedf14028edd559785760401bd7e96f39ac1d51a37 /lib
parent5cfac8eceae65634d9718da6a9e0951ed36c8391 (diff)
parent5e940366c2fa328235a9d3b2503d379a7cd76517 (diff)
downloadnextcloud-server-0280245fdddc0881d58cd9ec0ecb406e9ff94396.tar.gz
nextcloud-server-0280245fdddc0881d58cd9ec0ecb406e9ff94396.zip
Merge pull request #10375 from nextcloud/background-scan-root
Do scan the root storage in background scan
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Files/Utils/Scanner.php5
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;