]> git.mxchange.org Git - friendica.git/commitdiff
Only check once
authorMichael <heluecht@pirati.ca>
Sat, 23 Feb 2019 22:27:03 +0000 (22:27 +0000)
committerMichael <heluecht@pirati.ca>
Sat, 23 Feb 2019 22:27:03 +0000 (22:27 +0000)
src/Module/Install.php

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