Follow up r71359. $wgDBtype uneeded now.
authorPlatonides <platonides@users.mediawiki.org>
Sat, 21 Aug 2010 22:11:19 +0000 (22:11 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Sat, 21 Aug 2010 22:11:19 +0000 (22:11 +0000)
maintenance/convertLinks.php

index 0edfa13..e792319 100644 (file)
@@ -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.