Only check once

This commit is contained in:
Michael 2019-02-23 22:27:03 +00:00
parent 28f7c72cc7
commit ed54345ce1

View file

@ -66,10 +66,6 @@ class Install extends BaseModule
{ {
$a = self::getApp(); $a = self::getApp();
if (!$a->getMode()->isInstall()) {
Core\System::httpExit(403);
}
switch (self::$currentWizardStep) { switch (self::$currentWizardStep) {
case self::SYSTEM_CHECK: case self::SYSTEM_CHECK:
case self::DATABASE_CONFIG: case self::DATABASE_CONFIG:
@ -121,10 +117,6 @@ class Install extends BaseModule
{ {
$a = self::getApp(); $a = self::getApp();
if (!$a->getMode()->isInstall()) {
Core\System::httpExit(403);
}
$output = ''; $output = '';
$install_title = L10n::t('Friendica Communications Server - Setup'); $install_title = L10n::t('Friendica Communications Server - Setup');