diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2023-10-09 17:49:03 +0200 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2023-10-19 11:44:02 +0200 |
commit | efa2dfa64131e25644c045658ea226b110782fa4 (patch) | |
tree | 4e90566ef2b024aa242ebb64b430e4b5d98cacdf /apps | |
parent | bd370678210b69eedf4c579033ca2b60b897bd13 (diff) | |
download | nextcloud-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 'apps')
-rw-r--r-- | apps/settings/lib/Controller/CheckSetupController.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/settings/lib/Controller/CheckSetupController.php b/apps/settings/lib/Controller/CheckSetupController.php index 9f2ba0e5bf6..b2da455bc11 100644 --- a/apps/settings/lib/Controller/CheckSetupController.php +++ b/apps/settings/lib/Controller/CheckSetupController.php @@ -85,6 +85,7 @@ use OCP\Lock\ILockingProvider; use OCP\Notification\IManager; use OCP\Security\Bruteforce\IThrottler; use OCP\Security\ISecureRandom; +use OCP\SetupCheck\ISetupCheckManager; use Psr\Log\LoggerInterface; #[IgnoreOpenAPI] @@ -127,7 +128,7 @@ class CheckSetupController extends Controller { private $appManager; /** @var IServerContainer */ private $serverContainer; - private OC\SetupCheck\SetupCheckManager $setupCheckManager; + private ISetupCheckManager $setupCheckManager; public function __construct($AppName, IRequest $request, @@ -150,7 +151,7 @@ class CheckSetupController extends Controller { IManager $manager, IAppManager $appManager, IServerContainer $serverContainer, - OC\SetupCheck\SetupCheckManager $setupCheckManager + ISetupCheckManager $setupCheckManager, ) { parent::__construct($AppName, $request); $this->config = $config; |