r69188 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r69187‎ | r69188 | r69189 >
Date:15:00, 8 July 2010
Author:demon
Status:ok
Tags:
Comment:
Change Updaters to Updater
Modified paths:
  • /trunk/phase3/includes/AutoLoader.php (modified) (history)
  • /trunk/phase3/includes/installer/Update.php (modified) (history)
  • /trunk/phase3/includes/installer/Updaters.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/installer/Update.php
@@ -16,10 +16,10 @@
1717 $this->db = $db;
1818 switch( $this->db->getType() ) {
1919 case 'mysql':
20 - $this->updater = new MysqlUpdaters();
 20+ $this->updater = new MysqlUpdater();
2121 break;
2222 case 'sqlite':
23 - $this->updater = new SqliteUpdaters();
 23+ $this->updater = new SqliteUpdater();
2424 break;
2525 default:
2626 throw new MWException( __METHOD__ . ' called for unsupported $wgDBtype' );
Index: trunk/phase3/includes/installer/Updaters.php
@@ -18,7 +18,7 @@
1919 /**
2020 * Mysql implementation
2121 */
22 -class MysqlUpdaters implements Updaters {
 22+class MysqlUpdater implements Updaters {
2323
2424 public function getUpdates() {
2525 return array(
@@ -175,7 +175,7 @@
176176 /**
177177 * Sqlite
178178 */
179 -class SqliteUpdaters implements Updaters {
 179+class SqliteUpdater implements Updaters {
180180 public function getUpdates() {
181181 return array(
182182 '1.14' => array(
Index: trunk/phase3/includes/AutoLoader.php
@@ -421,10 +421,10 @@
422422 'WebInstaller' => 'includes/installer/WebInstaller.php',
423423 'WebInstallerOutput' => 'includes/installer/WebInstallerOutput.php',
424424 'MysqlInstaller' => 'includes/installer/MysqlInstaller.php',
425 - 'MysqlUpdaters' => 'includes/installer/Updaters.php',
 425+ 'MysqlUpdater' => 'includes/installer/Updaters.php',
426426 'PostgresInstaller' => 'includes/installer/PostgresInstaller.php',
427427 'SqliteInstaller' => 'includes/installer/SqliteInstaller.php',
428 - 'SqliteUpdaters' => 'includes/installer/Updaters.php',
 428+ 'SqliteUpdater' => 'includes/installer/Updaters.php',
429429 'OracleInstaller' => 'includes/installer/OracleInstaller.php',
430430 'Update' => 'includes/installer/Update.php',
431431 'Updaters' => 'includes/installer/Updaters.php',

Status & tagging log