Index: trunk/phase3/includes/installer/Update.php |
— | — | @@ -16,10 +16,10 @@ |
17 | 17 | $this->db = $db; |
18 | 18 | switch( $this->db->getType() ) { |
19 | 19 | case 'mysql': |
20 | | - $this->updater = new MysqlUpdaters(); |
| 20 | + $this->updater = new MysqlUpdater(); |
21 | 21 | break; |
22 | 22 | case 'sqlite': |
23 | | - $this->updater = new SqliteUpdaters(); |
| 23 | + $this->updater = new SqliteUpdater(); |
24 | 24 | break; |
25 | 25 | default: |
26 | 26 | throw new MWException( __METHOD__ . ' called for unsupported $wgDBtype' ); |
Index: trunk/phase3/includes/installer/Updaters.php |
— | — | @@ -18,7 +18,7 @@ |
19 | 19 | /** |
20 | 20 | * Mysql implementation |
21 | 21 | */ |
22 | | -class MysqlUpdaters implements Updaters { |
| 22 | +class MysqlUpdater implements Updaters { |
23 | 23 | |
24 | 24 | public function getUpdates() { |
25 | 25 | return array( |
— | — | @@ -175,7 +175,7 @@ |
176 | 176 | /** |
177 | 177 | * Sqlite |
178 | 178 | */ |
179 | | -class SqliteUpdaters implements Updaters { |
| 179 | +class SqliteUpdater implements Updaters { |
180 | 180 | public function getUpdates() { |
181 | 181 | return array( |
182 | 182 | '1.14' => array( |
Index: trunk/phase3/includes/AutoLoader.php |
— | — | @@ -421,10 +421,10 @@ |
422 | 422 | 'WebInstaller' => 'includes/installer/WebInstaller.php', |
423 | 423 | 'WebInstallerOutput' => 'includes/installer/WebInstallerOutput.php', |
424 | 424 | 'MysqlInstaller' => 'includes/installer/MysqlInstaller.php', |
425 | | - 'MysqlUpdaters' => 'includes/installer/Updaters.php', |
| 425 | + 'MysqlUpdater' => 'includes/installer/Updaters.php', |
426 | 426 | 'PostgresInstaller' => 'includes/installer/PostgresInstaller.php', |
427 | 427 | 'SqliteInstaller' => 'includes/installer/SqliteInstaller.php', |
428 | | - 'SqliteUpdaters' => 'includes/installer/Updaters.php', |
| 428 | + 'SqliteUpdater' => 'includes/installer/Updaters.php', |
429 | 429 | 'OracleInstaller' => 'includes/installer/OracleInstaller.php', |
430 | 430 | 'Update' => 'includes/installer/Update.php', |
431 | 431 | 'Updaters' => 'includes/installer/Updaters.php', |