From 7eeed06a405289d2d2a8328808838b1f7b265d43 Mon Sep 17 00:00:00 2001 From: Lars Gebhardt-Kusche Date: Wed, 6 May 2026 00:23:19 +0200 Subject: [PATCH] fdsfdf --- partials/landingpages/modules/setup.php | 9 --------- 1 file changed, 9 deletions(-) diff --git a/partials/landingpages/modules/setup.php b/partials/landingpages/modules/setup.php index e19e037..9cb1d99 100644 --- a/partials/landingpages/modules/setup.php +++ b/partials/landingpages/modules/setup.php @@ -623,10 +623,6 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') { } $moduleStatusPanel = null; -$activeSetupSection = trim((string) ($_POST['active_setup_section'] ?? 'setup-section-general')); -if (!in_array($activeSetupSection, ['setup-section-general', 'setup-section-access', 'setup-section-cron', 'setup-section-custom'], true)) { - $activeSetupSection = 'setup-section-general'; -} $activeDbGroup = $testGroup !== null && array_key_exists($testGroup, $dbGroups) ? $testGroup @@ -661,11 +657,7 @@ sort($knownGroups, SORT_NATURAL | SORT_FLAG_CASE); $knownUserValues = array_column($knownUsers, 'sub'); $manualUsers = array_values(array_filter($allowedUsers, fn (string $value): bool => !in_array($value, $knownUserValues, true))); $manualGroups = array_values(array_filter($allowedGroups, fn (string $value): bool => !in_array($value, $knownGroups, true))); -$hasCronSection = $cronSetupFields !== [] || $intervalTaskStatuses !== [] || $cronTaskDefinitions !== []; $hasCustomSection = $customSetupFields !== [] || $setupActions !== [] || $isFxRatesSetup; -if ($activeSetupSection === 'setup-section-custom' && !$hasCustomSection) { - $activeSetupSection = 'setup-section-general'; -} ?>
Setup
@@ -697,7 +689,6 @@ if ($activeSetupSection === 'setup-section-custom' && !$hasCustomSection) {
-