diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-07-24 15:20:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-24 15:20:49 +0200 |
commit | 0280245fdddc0881d58cd9ec0ecb406e9ff94396 (patch) | |
tree | df14028edd559785760401bd7e96f39ac1d51a37 /lib | |
parent | 5cfac8eceae65634d9718da6a9e0951ed36c8391 (diff) | |
parent | 5e940366c2fa328235a9d3b2503d379a7cd76517 (diff) | |
download | nextcloud-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.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; |