Skip to content

Commit

Permalink
Dev: Sensible error message at installer fatal error
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed Nov 22, 2017
1 parent 01587fa commit f65ba71
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions application/controllers/InstallerController.php
Expand Up @@ -191,7 +191,6 @@ public function stepViewLicense()
*/
private function stepPreInstallationCheck()
{

$oModel = new InstallerConfigForm();
//usual data required by view
$aData['title'] = gT('Pre-installation check');
Expand Down Expand Up @@ -613,7 +612,6 @@ function stepPopulateDb()
*/
private function stepOptionalConfiguration()
{

$aData['confirmation'] = Yii::app()->session['optconfig_message'];
$aData['title'] = gT("Optional settings");
$aData['descp'] = gT("Optional settings to give you a head start");
Expand Down Expand Up @@ -656,7 +654,7 @@ private function stepOptionalConfiguration()
try {

if (User::model()->count()>0){
die();
die('Fatal error: Already an admin user in the system.');
}
// Save user
$user=new User;
Expand Down

0 comments on commit f65ba71

Please sign in to comment.