diff --git a/ForumAuthManager.php b/ForumAuthManager.php index 09bb43e..888b341 100644 --- a/ForumAuthManager.php +++ b/ForumAuthManager.php @@ -30,7 +30,7 @@ class ForumAuthManager extends \MediaWiki\Auth\TemporaryPasswordPrimaryAuthentic * be sent to the same user again */ public function __construct( /*array*/ $params = [] ) { - $loadBalancer = \MediaWiki\MediaWikiServices::getInstance()->getDBLoadBalancer(); + $loadBalancer = \MediaWiki\MediaWikiServices::getInstance()->getDBLoadBalancerFactory(); $userOptionsLookup = \MediaWiki\MediaWikiServices::getInstance()->getUserOptionsLookup(); parent::__construct( $loadBalancer, $userOptionsLookup, $params ); @@ -110,4 +110,4 @@ public function providerAllowsPropertyChange( /*string*/ $property ): bool return false; return true; } -} \ No newline at end of file +}