From a67dc5e269adf11fff9f9cc98f98a3d814e3861d Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Wed, 20 Nov 2013 06:23:48 +0100 Subject: [PATCH] Update formatting in includes/dao/ Change-Id: Id3cfc68ff463831d7cd3329661619c33d70d7085 --- includes/dao/DBAccessBase.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/dao/DBAccessBase.php b/includes/dao/DBAccessBase.php index 6c009dee13..a9f7b7f39e 100644 --- a/includes/dao/DBAccessBase.php +++ b/includes/dao/DBAccessBase.php @@ -28,7 +28,6 @@ * @author Daniel Kinzler */ abstract class DBAccessBase implements IDBAccessObject { - /** * @var String|bool $wiki The target wiki's name. This must be an ID * that LBFactory can understand. @@ -58,6 +57,7 @@ abstract class DBAccessBase implements IDBAccessObject { */ protected function getConnection( $id, $groups = array() ) { $loadBalancer = wfGetLB( $this->wiki ); + return $loadBalancer->getConnection( $id, $groups, $this->wiki ); } @@ -68,7 +68,7 @@ abstract class DBAccessBase implements IDBAccessObject { * * @since 1.21 * - * @param DatabaseBase $db the database connection to release. + * @param DatabaseBase $db the database connection to release. */ protected function releaseConnection( DatabaseBase $db ) { if ( $this->wiki !== false ) { -- 2.20.1