aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Repair.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2021-04-28 14:25:17 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2021-04-28 14:27:46 +0200
commit758a662b2355162810c8d6d561bee27c43c6bbaa (patch)
treef98406e79dc27b39b7be26799ae34872f4e0247e /lib/private/Repair.php
parent48f05158e5ad61e9d68f00edf765b0f70a6db074 (diff)
downloadnextcloud-server-758a662b2355162810c8d6d561bee27c43c6bbaa.tar.gz
nextcloud-server-758a662b2355162810c8d6d561bee27c43c6bbaa.zip
Do not try to contact lookup server if not needed
In some cases (for example you never send data to the lookup server) there is no need for this job to even try. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/private/Repair.php')
-rw-r--r--lib/private/Repair.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/private/Repair.php b/lib/private/Repair.php
index 353f6c855bc..57ccfc5037e 100644
--- a/lib/private/Repair.php
+++ b/lib/private/Repair.php
@@ -45,6 +45,7 @@ use OC\Repair\ClearFrontendCaches;
use OC\Repair\ClearGeneratedAvatarCache;
use OC\Repair\Collation;
use OC\Repair\MoveUpdaterStepFile;
+use OC\Repair\NC22\LookupServerSendCheck;
use OC\Repair\Owncloud\CleanPreviews;
use OC\Repair\NC11\FixMountStorages;
use OC\Repair\Owncloud\MoveAvatars;
@@ -199,7 +200,8 @@ class Repair implements IOutput {
\OC::$server->get(ShippedDashboardEnable::class),
\OC::$server->get(AddBruteForceCleanupJob::class),
\OC::$server->get(AddCheckForUserCertificatesJob::class),
- \OC::$server->get(RepairDavShares::class)
+ \OC::$server->get(RepairDavShares::class),
+ \OC::$server->get(LookupServerSendCheck::class),
];
}