From 0afb81f8da2eff775e6edcf20d395849750e9aaf Mon Sep 17 00:00:00 2001 From: thiemowmde Date: Sun, 11 Aug 2024 17:27:28 +0200 Subject: [PATCH] Use ConnectionProvider instead of LoadBalancerFactory This requires 1.42. That works as this codebase already requires 1.43 via extension.json. Change-Id: If1f194a3cea3b8d45d98183e294d65fe8568f7ab --- includes/Special/SpecialAbuseLog.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Special/SpecialAbuseLog.php b/includes/Special/SpecialAbuseLog.php index 4976ab4d3..a89ef2362 100644 --- a/includes/Special/SpecialAbuseLog.php +++ b/includes/Special/SpecialAbuseLog.php @@ -858,7 +858,7 @@ class SpecialAbuseLog extends AbuseFilterSpecialPage { */ public static function getPrivateDetailsRow( Authority $authority, $id ) { $afPermManager = AbuseFilterServices::getPermissionManager(); - $dbr = MediaWikiServices::getInstance()->getDBLoadBalancerFactory()->getReplicaDatabase(); + $dbr = MediaWikiServices::getInstance()->getConnectionProvider()->getReplicaDatabase(); $row = $dbr->newSelectQueryBuilder() ->select( [ 'afl_id', 'afl_user_text', 'afl_filter_id', 'afl_global', 'afl_timestamp', 'afl_ip',