X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Finstaller%2FWebInstaller.php;h=68c2ebe36acaeb2323d6344d25a6b51d4186322a;hb=822d8929d4f31255d5192cff29544d492d32a4ac;hp=3515469dcbcd608d88446a14d4a2abc1c65baea4;hpb=c825102577e9552f37b94ae5c74a148dd6acf158;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/installer/WebInstaller.php b/includes/installer/WebInstaller.php index 3515469dcb..68c2ebe36a 100644 --- a/includes/installer/WebInstaller.php +++ b/includes/installer/WebInstaller.php @@ -148,7 +148,7 @@ class WebInstaller extends Installer { /** * Main entry point. * - * @param array[] $session initial session array + * @param array[] $session Initial session array * * @return array[] New session array */ @@ -729,6 +729,16 @@ class WebInstaller extends Installer { $this->output->addHTML( $html ); } + /** + * @param Status $status + */ + public function showStatusMessage( Status $status ) { + $errors = array_merge( $status->getErrorsArray(), $status->getWarningsArray() ); + foreach ( $errors as $error ) { + call_user_func_array( array( $this, 'showMessage' ), $error ); + } + } + /** * Label a control by wrapping a config-input div around it and putting a * label before it.