aboutsummaryrefslogtreecommitdiffstats
path: root/maintenance/updateSearchIndex.php
diff options
context:
space:
mode:
authorReedy <reedy@wikimedia.org>2015-12-31 00:07:37 +0000
committerFlorianschmidtwelzow <florian.schmidt.stargatewissen@gmail.com>2016-01-02 16:58:23 +0000
commit44cebea941236e165bf55e80565d6679529c7280 (patch)
tree178576d4e0c9b3716e2623039dbaa08316605bd6 /maintenance/updateSearchIndex.php
parent1e2e79d9f383e4498b11266671fd207401e37e71 (diff)
downloadmediawikicore-44cebea941236e165bf55e80565d6679529c7280.tar.gz
mediawikicore-44cebea941236e165bf55e80565d6679529c7280.zip
Update wfGetDB calls in Maintenance scripts to use getDB()
Change-Id: I9ad6745d84506b736dae94747256caac89715899
Diffstat (limited to 'maintenance/updateSearchIndex.php')
-rw-r--r--maintenance/updateSearchIndex.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/maintenance/updateSearchIndex.php b/maintenance/updateSearchIndex.php
index 68a51bd9a582..18edecceae1f 100644
--- a/maintenance/updateSearchIndex.php
+++ b/maintenance/updateSearchIndex.php
@@ -96,7 +96,7 @@ class UpdateSearchIndex extends Maintenance {
$wgDisableSearchUpdate = false;
- $dbw = wfGetDB( DB_MASTER );
+ $dbw = $this->getDB( DB_MASTER );
$recentchanges = $dbw->tableName( 'recentchanges' );
$this->output( "Updating searchindex between $start and $end\n" );