$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
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" );
}
}
-