aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Server.php
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2023-10-09 17:49:03 +0200
committerCôme Chilliet <come.chilliet@nextcloud.com>2023-10-19 11:44:02 +0200
commitefa2dfa64131e25644c045658ea226b110782fa4 (patch)
tree4e90566ef2b024aa242ebb64b430e4b5d98cacdf /lib/private/Server.php
parentbd370678210b69eedf4c579033ca2b60b897bd13 (diff)
downloadnextcloud-server-efa2dfa64131e25644c045658ea226b110782fa4.tar.gz
nextcloud-server-efa2dfa64131e25644c045658ea226b110782fa4.zip
Add OCP interface for SetupCheckManager
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'lib/private/Server.php')
-rw-r--r--lib/private/Server.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/private/Server.php b/lib/private/Server.php
index 949a7ccfd3f..b8004670634 100644
--- a/lib/private/Server.php
+++ b/lib/private/Server.php
@@ -149,6 +149,7 @@ use OC\Security\SecureRandom;
use OC\Security\TrustedDomainHelper;
use OC\Security\VerificationToken\VerificationToken;
use OC\Session\CryptoWrapper;
+use OC\SetupCheck\SetupCheckManager;
use OC\Share20\ProviderFactory;
use OC\Share20\ShareDisableChecker;
use OC\Share20\ShareHelper;
@@ -247,6 +248,7 @@ use OCP\Security\ISecureRandom;
use OCP\Security\ITrustedDomainHelper;
use OCP\Security\RateLimiting\ILimiter;
use OCP\Security\VerificationToken\IVerificationToken;
+use OCP\SetupCheck\ISetupCheckManager;
use OCP\Share\IShareHelper;
use OCP\SpeechToText\ISpeechToTextManager;
use OCP\SystemTag\ISystemTagManager;
@@ -1430,6 +1432,8 @@ class Server extends ServerContainer implements IServerContainer {
$this->registerAlias(IOCMProvider::class, OCMProvider::class);
+ $this->registerAlias(ISetupCheckManager::class, SetupCheckManager::class);
+
$this->connectDispatcher();
}