diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2021-01-28 14:08:38 +0100 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2021-02-10 09:44:24 +0100 |
commit | aabd73912ec278eb082d7f47d88f350ac523d0c7 (patch) | |
tree | b7a26bf92f646b8d119b3afe69a3953b8d4c7f4f /lib/private/legacy | |
parent | f96f0f6cad011d73846cdf98ed8b0d35b180a2ef (diff) | |
download | nextcloud-server-aabd73912ec278eb082d7f47d88f350ac523d0c7.tar.gz nextcloud-server-aabd73912ec278eb082d7f47d88f350ac523d0c7.zip |
Type the service registration
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/private/legacy')
-rw-r--r-- | lib/private/legacy/OC_App.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/private/legacy/OC_App.php b/lib/private/legacy/OC_App.php index a64b13f1e2c..530291002bb 100644 --- a/lib/private/legacy/OC_App.php +++ b/lib/private/legacy/OC_App.php @@ -698,11 +698,11 @@ class OC_App { $bootstrapCoordinator = \OC::$server->query(Coordinator::class); foreach ($bootstrapCoordinator->getRegistrationContext()->getAlternativeLogins() as $registration) { - if (!in_array(IAlternativeLogin::class, class_implements($registration['class']), true)) { + if (!in_array(IAlternativeLogin::class, class_implements($registration->getService()), true)) { \OC::$server->getLogger()->error('Alternative login option {option} does not implement {interface} and is therefore ignored.', [ - 'option' => $registration['class'], + 'option' => $registration->getService(), 'interface' => IAlternativeLogin::class, - 'app' => $registration['app'], + 'app' => $registration->getAppId(), ]); continue; } |