aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2018-07-24 16:17:29 +0200
committerGitHub <noreply@github.com>2018-07-24 16:17:29 +0200
commite39f410a2ba83424f89844f208f41c4c7a1add5b (patch)
tree3f9698ac3662dbdcbb8b0fb7e05191c431e82c92 /lib
parentad16affc9e82b271be869e1fb898f1847e118fed (diff)
parent8aeafc63a1fc67d5dff24d0da345ffbbd0ddf060 (diff)
downloadnextcloud-server-e39f410a2ba83424f89844f208f41c4c7a1add5b.tar.gz
nextcloud-server-e39f410a2ba83424f89844f208f41c4c7a1add5b.zip
Merge pull request #10376 from nextcloud/background-scan-root-13
[13] 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 162e5759121..9596e6f5548 100644
--- a/lib/private/Files/Utils/Scanner.php
+++ b/lib/private/Files/Utils/Scanner.php
@@ -150,11 +150,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;