From e819779400cb435b68af78542f2d4041acdb0e0a Mon Sep 17 00:00:00 2001 From: Platonides Date: Sat, 21 Aug 2010 22:11:19 +0000 Subject: [PATCH] Follow up r71359. $wgDBtype uneeded now. --- maintenance/convertLinks.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/maintenance/convertLinks.php b/maintenance/convertLinks.php index 0edfa131d9..e792319dda 100644 --- a/maintenance/convertLinks.php +++ b/maintenance/convertLinks.php @@ -36,8 +36,6 @@ The wiki should be put into read-only mode while this script executes"; } public function execute() { - global $wgDBtype; - $dbw = wfGetDB( DB_MASTER ); $type = $dbw->getType(); @@ -124,7 +122,8 @@ The wiki should be put into read-only mode while this script executes"; $dbw->bufferResults( true ); $this->output( "Finished loading IDs.\n\n" ); $this->performanceLog( "Took " . ( $this->getMicroTime() - $baseTime ) . " seconds to load IDs.\n\n" ); - # -------------------------------------------------------------------- + + # -------------------------------------------------------------------- # Now, step through the links table (in chunks of $linksConvInsertInterval rows), # convert, and write to the new table. -- 2.20.1