From e27138c5b0e7b0756b0928b7470da6fc905e9739 Mon Sep 17 00:00:00 2001 From: Jeroen De Dauw Date: Thu, 29 Jul 2010 15:20:04 +0000 Subject: [PATCH] Removed showStatusMessage from the Installer and WebInstaller classes as it's only used in the CliInstaller --- includes/installer/CliInstaller.php | 2 +- includes/installer/Installer.php | 7 ------- includes/installer/WebInstaller.php | 9 --------- 3 files changed, 1 insertion(+), 17 deletions(-) diff --git a/includes/installer/CliInstaller.php b/includes/installer/CliInstaller.php index ec968e716a..461338839d 100644 --- a/includes/installer/CliInstaller.php +++ b/includes/installer/CliInstaller.php @@ -96,7 +96,7 @@ class CliInstaller extends CoreInstaller { flush(); } - public function showStatusMessage( $status ) { + public function showStatusMessage( Status $status ) { $this->showMessage( $status->getWikiText() ); } diff --git a/includes/installer/Installer.php b/includes/installer/Installer.php index 3b48bdd3a1..8038efece7 100644 --- a/includes/installer/Installer.php +++ b/includes/installer/Installer.php @@ -98,13 +98,6 @@ abstract class Installer { * output format such as HTML or text before being sent to the user. */ public abstract function showMessage( $msg /*, ... */ ); - - /** - * TODO: doucment - * - * @param $status - */ - public abstract function showStatusMessage( $status ); /** * Constructor, always call this from child classes. diff --git a/includes/installer/WebInstaller.php b/includes/installer/WebInstaller.php index b18536c902..ab37c265ca 100644 --- a/includes/installer/WebInstaller.php +++ b/includes/installer/WebInstaller.php @@ -884,15 +884,6 @@ class WebInstaller extends CoreInstaller { } } - public function showStatusMessage( $status ) { - $text = $status->getWikiText(); - $this->output->addWikiText( - "
\n" . - $text . - "
" - ); - } - /** * Convenience function to set variables based on form data. * Assumes that variables containing "password" in the name are (potentially -- 2.20.1