From: Alexandre Emsenhuber Date: Thu, 19 May 2011 17:31:32 +0000 (+0000) Subject: Correct case in function call: wfGetDb() -> wfGetDB() X-Git-Tag: 1.31.0-rc.0~30076 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/journal.php?a=commitdiff_plain;h=8aafc06999fb69e17ecdc2c4a3fb670b09f13d17;p=lhc%2Fweb%2Fwiklou.git Correct case in function call: wfGetDb() -> wfGetDB() --- diff --git a/includes/ExternalUser.php b/includes/ExternalUser.php index d1eff91633..88dfc6eb76 100644 --- a/includes/ExternalUser.php +++ b/includes/ExternalUser.php @@ -293,7 +293,7 @@ abstract class ExternalUser { * @return Mixed User if the account is linked, Null otherwise. */ public final function getLocalUser(){ - $dbr = wfGetDb( DB_SLAVE ); + $dbr = wfGetDB( DB_SLAVE ); $row = $dbr->selectRow( 'external_user', '*', diff --git a/includes/specials/SpecialWithoutinterwiki.php b/includes/specials/SpecialWithoutinterwiki.php index ffad92ffa1..9d91b83376 100644 --- a/includes/specials/SpecialWithoutinterwiki.php +++ b/includes/specials/SpecialWithoutinterwiki.php @@ -90,7 +90,7 @@ class WithoutInterwikiPage extends PageQueryPage { 'LEFT JOIN', 'll_from = page_id' ) ) ); if ( $this->prefix ) { - $dbr = wfGetDb( DB_SLAVE ); + $dbr = wfGetDB( DB_SLAVE ); $query['conds'][] = 'page_title ' . $dbr->buildLike( $this->prefix, $dbr->anyString() ); } return $query; diff --git a/maintenance/runBatchedQuery.php b/maintenance/runBatchedQuery.php index 8d1b53eb95..9a6b6383c5 100644 --- a/maintenance/runBatchedQuery.php +++ b/maintenance/runBatchedQuery.php @@ -38,7 +38,7 @@ class BatchedQueryRunner extends Maintenance { $query = $this->getArg(); $wait = $this->getOption( 'wait', 5 ); $n = 1; - $dbw = wfGetDb( DB_MASTER ); + $dbw = wfGetDB( DB_MASTER ); do { $this->output( "Batch $n: " ); $n++;