http://www.mediawiki.org/wiki/Special:Code/MediaWiki/88415
Revision: 88415
Author: ialex
Date: 2011-05-19 17:31:32 +0000 (Thu, 19 May 2011)
Log Message:
-----------
Correct case in function call: wfGetDb() -> wfGetDB()
Modified Paths:
--------------
trunk/phase3/includes/ExternalUser.php
trunk/phase3/includes/specials/SpecialWithoutinterwiki.php
trunk/phase3/maintenance/runBatchedQuery.php
Modified: trunk/phase3/includes/ExternalUser.php
===================================================================
--- trunk/phase3/includes/ExternalUser.php 2011-05-19 17:23:35 UTC (rev
88414)
+++ trunk/phase3/includes/ExternalUser.php 2011-05-19 17:31:32 UTC (rev
88415)
@@ -293,7 +293,7 @@
* @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',
'*',
Modified: trunk/phase3/includes/specials/SpecialWithoutinterwiki.php
===================================================================
--- trunk/phase3/includes/specials/SpecialWithoutinterwiki.php 2011-05-19
17:23:35 UTC (rev 88414)
+++ trunk/phase3/includes/specials/SpecialWithoutinterwiki.php 2011-05-19
17:31:32 UTC (rev 88415)
@@ -90,7 +90,7 @@
'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;
Modified: trunk/phase3/maintenance/runBatchedQuery.php
===================================================================
--- trunk/phase3/maintenance/runBatchedQuery.php 2011-05-19 17:23:35 UTC
(rev 88414)
+++ trunk/phase3/maintenance/runBatchedQuery.php 2011-05-19 17:31:32 UTC
(rev 88415)
@@ -38,7 +38,7 @@
$query = $this->getArg();
$wait = $this->getOption( 'wait', 5 );
$n = 1;
- $dbw = wfGetDb( DB_MASTER );
+ $dbw = wfGetDB( DB_MASTER );
do {
$this->output( "Batch $n: " );
$n++;
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs