X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Finstaller%2FWebInstallerInstall.php;h=63740e3824c3e9e6de097042e7714c6c4d9d7d83;hb=73de492438f180ec47ae562cab4549cb1b63c21c;hp=51a58ae2542c8f77aad397f33f2a915410f487f2;hpb=23299ca8790bcf1aebcf54e0932b94338e630474;p=lhc%2Fweb%2Fwiklou.git
diff --git a/includes/installer/WebInstallerInstall.php b/includes/installer/WebInstallerInstall.php
index 51a58ae254..63740e3824 100644
--- a/includes/installer/WebInstallerInstall.php
+++ b/includes/installer/WebInstallerInstall.php
@@ -40,8 +40,8 @@ class WebInstallerInstall extends WebInstallerPage {
$this->startForm();
$this->addHTML( "
" );
$results = $this->parent->performInstallation(
- array( $this, 'startStage' ),
- array( $this, 'endStage' )
+ [ $this, 'startStage' ],
+ [ $this, 'endStage' ]
);
$this->addHTML( "
" );
// PerformInstallation bails on a fatal, so make sure the last item
@@ -81,9 +81,9 @@ class WebInstallerInstall extends WebInstallerPage {
if ( $step == 'extension-tables' ) {
$this->endLiveBox();
}
- $msg = $status->isOk() ? 'config-install-step-done' : 'config-install-step-failed';
+ $msg = $status->isOK() ? 'config-install-step-done' : 'config-install-step-failed';
$html = wfMessage( 'word-separator' )->escaped() . wfMessage( $msg )->escaped();
- if ( !$status->isOk() ) {
+ if ( !$status->isOK() ) {
$html = "$html";
}
$this->addHTML( $html . "\n" );