foreach( $this->extraInstallSteps as $step ) {
// Put the step at the beginning
if( !strval( $step['position' ] ) ) {
- array_unshift( $installSteps, $step['callback'] );
+ array_unshift( $this->installSteps, $step['callback'] );
continue;
} else {
// Walk the $coreInstallSteps array to see if we can modify
'name' => 'pg-commit',
'callback' => array( $this, 'commitChanges' ),
);
-/* $userCB = array(
+ $userCB = array(
'name' => 'user',
'callback' => array( $this, 'setupUser' ),
- ); */
+ );
$ts2CB = array(
'name' => 'pg-ts2',
'callback' => array( $this, 'setupTs2' ),
);
$this->parent->addInstallStep( $commitCB, 'interwiki' );
-// $this->parent->addInstallStep( $userCB );
+ $this->parent->addInstallStep( $userCB );
$this->parent->addInstallStep( $ts2CB, 'setupDatabase' );
}
function setupDatabase() {
- $status = $this->setupUser();
- if (!$status->isOK() ) {
- return $status;
- }
-
$status = $this->getConnection();
if ( !$status->isOK() ) {
return $status;