diff options
author | Renato Botelho <renato@netgate.com> | 2017-08-10 10:29:26 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2017-08-15 13:31:22 -0300 |
commit | df464c21e0adfbb845ce38ede5e289b21c8ed083 (patch) | |
tree | 4345f7523b3c1e2a60c56ea31c49e94c814c3772 /src/usr/local | |
parent | 159d04abe30097d41c4add7e6654f5b247fbce68 (diff) | |
download | pfsense-df464c21e0adfbb845ce38ede5e289b21c8ed083.zip pfsense-df464c21e0adfbb845ce38ede5e289b21c8ed083.tar.gz |
Remove dead code using in the past to migrate from pfSense-repo-devel to a single pkg called pfSense-repo
Diffstat (limited to 'src/usr/local')
-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 e51ccea..877ff34 100644 --- a/src/usr/local/www/system_update_settings.php +++ b/src/usr/local/www/system_update_settings.php @@ -66,15 +66,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'])) { |