From 88b8dd8610ad0b31ecf440089c6f6f456bf01e80 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Sun, 8 Aug 2010 15:29:32 +0000 Subject: [PATCH] Tweak output from install. Make non-fatals still say OK, but output their possible warnings. --- includes/installer/WebInstallerPage.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/includes/installer/WebInstallerPage.php b/includes/installer/WebInstallerPage.php index be358ff6bd..52258ce5ac 100644 --- a/includes/installer/WebInstallerPage.php +++ b/includes/installer/WebInstallerPage.php @@ -832,14 +832,13 @@ class WebInstaller_Install extends WebInstallerPage { } public function endStage( $step, $status ) { - $success = $status->isGood(); - $msg = $success ? 'config-install-step-done' : 'config-install-step-failed'; + $msg = $status->isOk() ? 'config-install-step-done' : 'config-install-step-failed'; $html = wfMsgHtml( 'word-separator' ) . wfMsgHtml( $msg ); - if ( !$success ) { + if ( !$status->isOk() ) { $html = "$html"; } $this->addHTML( $html . "\n" ); - if( !$success ) { + if( !$status->isGood() ) { $this->parent->showStatusBox( $status ); } } -- 2.20.1