jenkins-bot has submitted this change and it was merged.

Change subject: Change DatabaseBase::factory call to Database::factory in 
LoadBalancer
......................................................................


Change DatabaseBase::factory call to Database::factory in LoadBalancer

Change-Id: Id4bbc08b5aa913e2e3e47a7873db600fe957c985
---
M includes/libs/rdbms/loadbalancer/LoadBalancer.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Ori.livneh: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/includes/libs/rdbms/loadbalancer/LoadBalancer.php 
b/includes/libs/rdbms/loadbalancer/LoadBalancer.php
index 75ecd27..2bc378a 100644
--- a/includes/libs/rdbms/loadbalancer/LoadBalancer.php
+++ b/includes/libs/rdbms/loadbalancer/LoadBalancer.php
@@ -848,7 +848,7 @@
 
                // Create a live connection object
                try {
-                       $db = DatabaseBase::factory( $server['type'], $server );
+                       $db = Database::factory( $server['type'], $server );
                } catch ( DBConnectionError $e ) {
                        // FIXME: This is probably the ugliest thing I have 
ever done to
                        // PHP. I'm half-expecting it to segfault, just out of 
disgust. -- TS

-- 
To view, visit https://gerrit.wikimedia.org/r/311493
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Id4bbc08b5aa913e2e3e47a7873db600fe957c985
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <asch...@wikimedia.org>
Gerrit-Reviewer: Ori.livneh <o...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to