summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2018-07-24 14:15:27 +0200
committerRobin Appelman <robin@icewind.nl>2018-07-24 15:45:51 +0200
commit8aeafc63a1fc67d5dff24d0da345ffbbd0ddf060 (patch)
tree3f9698ac3662dbdcbb8b0fb7e05191c431e82c92 /lib
parentad16affc9e82b271be869e1fb898f1847e118fed (diff)
downloadnextcloud-server-8aeafc63a1fc67d5dff24d0da345ffbbd0ddf060.tar.gz
nextcloud-server-8aeafc63a1fc67d5dff24d0da345ffbbd0ddf060.zip
Do scan the root storage in background scan
Signed-off-by: Robin Appelman <robin@icewind.nl>
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;