if ( $this->parent->request->wasPosted() && !$this->getVar( '_ExistingDBSettings' ) ) {
// Done message acknowledged
return 'continue';
- } else {
- // Back button click
- // Show the done message again
- // Make them click back again if they want to do the upgrade again
- $this->showDoneMessage();
-
- return 'output';
}
+ // Back button click
+ // Show the done message again
+ // Make them click back again if they want to do the upgrade again
+ $this->showDoneMessage();
+
+ return 'output';
}
// wgDBtype is generally valid here because otherwise the previous page
}
$this->setVar( '_UpgradeDone', true );
$this->showDoneMessage();
-
- return 'output';
} else {
$this->startForm();
$this->parent->showError( 'config-upgrade-error' );
$this->endForm();
-
- return 'output';
}
+
+ return 'output';
}
$this->startForm();