From: Jeroen De Dauw Date: Thu, 29 Jul 2010 15:20:04 +0000 (+0000) Subject: Removed showStatusMessage from the Installer and WebInstaller classes as it's only... X-Git-Tag: 1.31.0-rc.0~35845 X-Git-Url: http://git.cyclocoop.org/fichier?a=commitdiff_plain;h=e27138c5b0e7b0756b0928b7470da6fc905e9739;p=lhc%2Fweb%2Fwiklou.git Removed showStatusMessage from the Installer and WebInstaller classes as it's only used in the CliInstaller --- 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