From fc885b39b06b3acaf5a99402b848632c35ede330 Mon Sep 17 00:00:00 2001 From: Joachim Vandersmissen Date: Wed, 8 Sep 2021 20:09:39 +0200 Subject: [PATCH] Compatibility with MediaWiki 1.36 --- includes/SpecialShibbolethLogin.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/SpecialShibbolethLogin.php b/includes/SpecialShibbolethLogin.php index 1b51c50..82fc1d7 100644 --- a/includes/SpecialShibbolethLogin.php +++ b/includes/SpecialShibbolethLogin.php @@ -3,10 +3,11 @@ namespace MediaWikiShibboleth; use SpecialUserLogin; +use MediaWiki\MediaWikiServices; class SpecialShibbolethLogin extends SpecialUserLogin { function __construct() { - parent::__construct("ShibbolethLogin"); + parent::__construct(MediaWikiServices::getInstance()->getAuthManager()); } function errorBox($message) {