X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Finstaller%2FWebInstallerInstall.php;h=63740e3824c3e9e6de097042e7714c6c4d9d7d83;hb=9ced9ebca28e1ce2bed455da5ad9da208013ef18;hp=261a66170d4e406126319c54036b26791a4f464d;hpb=5833efc5ac06e8168368b4159ee0c494c9fe1ad8;p=lhc%2Fweb%2Fwiklou.git
diff --git a/includes/installer/WebInstallerInstall.php b/includes/installer/WebInstallerInstall.php
index 261a66170d..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" );
@@ -93,4 +93,3 @@ class WebInstallerInstall extends WebInstallerPage {
}
}
-