X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;ds=inline;f=includes%2Finstaller%2FWebInstallerInstall.php;h=63740e3824c3e9e6de097042e7714c6c4d9d7d83;hb=8a95833baed3b8071fcbd8cd2bc8c3449409f665;hp=51a58ae2542c8f77aad397f33f2a915410f487f2;hpb=de193359ce79cb5ff4a602f9e737ff03cc9f85e6;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" );