diff options
Diffstat (limited to 'src/usr/local/www/system_update_settings.php')
-rw-r--r-- | src/usr/local/www/system_update_settings.php | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/usr/local/www/system_update_settings.php b/src/usr/local/www/system_update_settings.php index 2d1549b..6556bcc 100644 --- a/src/usr/local/www/system_update_settings.php +++ b/src/usr/local/www/system_update_settings.php @@ -34,15 +34,6 @@ $repos = pkg_list_repos(); if ($_POST) { - // Set the firmware branch, but only if we are not using it already - if ($_POST['fwbranch']) { - if (($_POST['fwbranch'] == "development") && !is_pkg_installed($g['product_name'] . "-repo-devel")) { - pkg_switch_repo(true); - } else if (($_POST['fwbranch'] == "stable") && !is_pkg_installed($g['product_name'] . "-repo")) { - pkg_switch_repo(false); - } - } - if ($_POST['disablecheck'] == "yes") { $config['system']['firmware']['disablecheck'] = true; } elseif (isset($config['system']['firmware']['disablecheck'])) { |