Introduced Maintenance::getDB() and corresponding setDB() to control externally what...
[lhc/web/wiklou.git] / maintenance / updateCollation.php
index 8cbea5b..f5b7d9c 100644 (file)
@@ -60,7 +60,7 @@ TEXT;
        public function execute() {
                global $wgCategoryCollation, $wgMiserMode;
 
-               $dbw = wfGetDB( DB_MASTER );
+               $dbw = $this->getDB( DB_MASTER );
                $force = $this->getOption( 'force' );
 
                $options = array( 'LIMIT' => self::BATCH_SIZE );