aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Files/Utils/Scanner.php
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2021-11-16 18:10:09 +0100
committerRobin Appelman <robin@icewind.nl>2021-12-02 17:34:58 +0100
commitf5fe887b4b8bfad2f781c9cd7df221e73758ded2 (patch)
tree23fd7d79311ca4f7031598b222990ccc24ac12f6 /lib/private/Files/Utils/Scanner.php
parentf93061e344b5bb92aa8c32dcc9fd68994b8645ef (diff)
downloadnextcloud-server-f5fe887b4b8bfad2f781c9cd7df221e73758ded2.tar.gz
nextcloud-server-f5fe887b4b8bfad2f781c9cd7df221e73758ded2.zip
background scan the source storage when a background scan on a storage jail is triggered
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib/private/Files/Utils/Scanner.php')
-rw-r--r--lib/private/Files/Utils/Scanner.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/private/Files/Utils/Scanner.php b/lib/private/Files/Utils/Scanner.php
index faeb31db8cc..2e5a25a355b 100644
--- a/lib/private/Files/Utils/Scanner.php
+++ b/lib/private/Files/Utils/Scanner.php
@@ -166,10 +166,6 @@ class Scanner extends PublicEmitter {
continue;
}
- // don't scan received local shares, these can be scanned when scanning the owner's storage
- if ($storage->instanceOfStorage(SharedStorage::class)) {
- continue;
- }
$scanner = $storage->getScanner();
$this->attachListener($mount);