aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/legacy/OC_App.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/legacy/OC_App.php')
-rw-r--r--lib/private/legacy/OC_App.php6
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;
}