From 1dc0438117f7e73d4644eb7054c846a0aeca49c1 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Thu, 8 Jul 2010 15:00:00 +0000 Subject: [PATCH] Change Updaters to Updater --- includes/AutoLoader.php | 4 ++-- includes/installer/Update.php | 4 ++-- includes/installer/Updaters.php | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/includes/AutoLoader.php b/includes/AutoLoader.php index 7c37021221..0f0d36ee09 100644 --- a/includes/AutoLoader.php +++ b/includes/AutoLoader.php @@ -421,10 +421,10 @@ $wgAutoloadLocalClasses = array( 'WebInstaller' => 'includes/installer/WebInstaller.php', 'WebInstallerOutput' => 'includes/installer/WebInstallerOutput.php', 'MysqlInstaller' => 'includes/installer/MysqlInstaller.php', - 'MysqlUpdaters' => 'includes/installer/Updaters.php', + 'MysqlUpdater' => 'includes/installer/Updaters.php', 'PostgresInstaller' => 'includes/installer/PostgresInstaller.php', 'SqliteInstaller' => 'includes/installer/SqliteInstaller.php', - 'SqliteUpdaters' => 'includes/installer/Updaters.php', + 'SqliteUpdater' => 'includes/installer/Updaters.php', 'OracleInstaller' => 'includes/installer/OracleInstaller.php', 'Update' => 'includes/installer/Update.php', 'Updaters' => 'includes/installer/Updaters.php', diff --git a/includes/installer/Update.php b/includes/installer/Update.php index ce820ff18b..ad240bfba7 100644 --- a/includes/installer/Update.php +++ b/includes/installer/Update.php @@ -16,10 +16,10 @@ class Update { $this->db = $db; switch( $this->db->getType() ) { case 'mysql': - $this->updater = new MysqlUpdaters(); + $this->updater = new MysqlUpdater(); break; case 'sqlite': - $this->updater = new SqliteUpdaters(); + $this->updater = new SqliteUpdater(); break; default: throw new MWException( __METHOD__ . ' called for unsupported $wgDBtype' ); diff --git a/includes/installer/Updaters.php b/includes/installer/Updaters.php index 93ff6dfeba..c8dc5d154a 100644 --- a/includes/installer/Updaters.php +++ b/includes/installer/Updaters.php @@ -18,7 +18,7 @@ interface Updaters { /** * Mysql implementation */ -class MysqlUpdaters implements Updaters { +class MysqlUpdater implements Updaters { public function getUpdates() { return array( @@ -175,7 +175,7 @@ class MysqlUpdaters implements Updaters { /** * Sqlite */ -class SqliteUpdaters implements Updaters { +class SqliteUpdater implements Updaters { public function getUpdates() { return array( '1.14' => array( -- 2.20.1