http://www.mediawiki.org/wiki/Special:Code/MediaWiki/70140
Revision: 70140
Author: jeroendedauw
Date: 2010-07-29 15:20:04 +0000 (Thu, 29 Jul 2010)
Log Message:
-----------
Removed showStatusMessage from the Installer and WebInstaller classes as it's
only used in the CliInstaller
Modified Paths:
--------------
trunk/phase3/includes/installer/CliInstaller.php
trunk/phase3/includes/installer/Installer.php
trunk/phase3/includes/installer/WebInstaller.php
Modified: trunk/phase3/includes/installer/CliInstaller.php
===================================================================
--- trunk/phase3/includes/installer/CliInstaller.php 2010-07-29 15:02:26 UTC
(rev 70139)
+++ trunk/phase3/includes/installer/CliInstaller.php 2010-07-29 15:20:04 UTC
(rev 70140)
@@ -96,7 +96,7 @@
flush();
}
- public function showStatusMessage( $status ) {
+ public function showStatusMessage( Status $status ) {
$this->showMessage( $status->getWikiText() );
}
Modified: trunk/phase3/includes/installer/Installer.php
===================================================================
--- trunk/phase3/includes/installer/Installer.php 2010-07-29 15:02:26 UTC
(rev 70139)
+++ trunk/phase3/includes/installer/Installer.php 2010-07-29 15:20:04 UTC
(rev 70140)
@@ -98,13 +98,6 @@
* 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.
Modified: trunk/phase3/includes/installer/WebInstaller.php
===================================================================
--- trunk/phase3/includes/installer/WebInstaller.php 2010-07-29 15:02:26 UTC
(rev 70139)
+++ trunk/phase3/includes/installer/WebInstaller.php 2010-07-29 15:20:04 UTC
(rev 70140)
@@ -884,15 +884,6 @@
}
}
- 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
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs