installer: Add support for PlatformSettings.php
[lhc/web/wiklou.git] / includes / installer / WebInstallerInstall.php
index 51a58ae..63740e3 100644 (file)
@@ -40,8 +40,8 @@ class WebInstallerInstall extends WebInstallerPage {
                        $this->startForm();
                        $this->addHTML( "<ul>" );
                        $results = $this->parent->performInstallation(
-                               array( $this, 'startStage' ),
-                               array( $this, 'endStage' )
+                               [ $this, 'startStage' ],
+                               [ $this, 'endStage' ]
                        );
                        $this->addHTML( "</ul>" );
                        // 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 = "<span class=\"error\">$html</span>";
                }
                $this->addHTML( $html . "</li>\n" );