Removed showStatusMessage from the Installer and WebInstaller classes as it's only...
authorJeroen De Dauw <jeroendedauw@users.mediawiki.org>
Thu, 29 Jul 2010 15:20:04 +0000 (15:20 +0000)
committerJeroen De Dauw <jeroendedauw@users.mediawiki.org>
Thu, 29 Jul 2010 15:20:04 +0000 (15:20 +0000)
includes/installer/CliInstaller.php
includes/installer/Installer.php
includes/installer/WebInstaller.php

index ec968e7..4613388 100644 (file)
@@ -96,7 +96,7 @@ class CliInstaller extends CoreInstaller {
                flush();
        }
 
-       public function showStatusMessage( $status ) {
+       public function showStatusMessage( Status $status ) {
                $this->showMessage( $status->getWikiText() );
        }
 
index 3b48bdd..8038efe 100644 (file)
@@ -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.
index b18536c..ab37c26 100644 (file)
@@ -884,15 +884,6 @@ class WebInstaller extends CoreInstaller {
                }
        }
 
-       public function showStatusMessage( $status ) {
-               $text = $status->getWikiText();
-               $this->output->addWikiText(
-                       "<div class=\"config-message\">\n" .
-                       $text .
-                       "</div>"
-               );
-       }
-
        /**
         * Convenience function to set variables based on form data.
         * Assumes that variables containing "password" in the name are (potentially