From c9544ab6b2afed5558b3fab56d3ece73da9fead1 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Mon, 17 Jul 2017 16:32:53 -0700 Subject: [PATCH] Remove excess getExternalLB() argument Change-Id: I097b1ba46806649f014ca624d15d9064ee0f9ba7 --- includes/jobqueue/JobQueueDB.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/jobqueue/JobQueueDB.php b/includes/jobqueue/JobQueueDB.php index cefe74df18..b7cc133a75 100644 --- a/includes/jobqueue/JobQueueDB.php +++ b/includes/jobqueue/JobQueueDB.php @@ -768,7 +768,7 @@ class JobQueueDB extends JobQueue { protected function getDB( $index ) { $lbFactory = MediaWikiServices::getInstance()->getDBLoadBalancerFactory(); $lb = ( $this->cluster !== false ) - ? $lbFactory->getExternalLB( $this->cluster, $this->wiki ) + ? $lbFactory->getExternalLB( $this->cluster ) : $lbFactory->getMainLB( $this->wiki ); return $lb->getConnectionRef( $index, [], $this->wiki ); -- 2.20.1