diff options
author | Renato Botelho <renato@netgate.com> | 2017-08-10 10:29:26 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2017-08-10 10:29:26 -0300 |
commit | 52e827acf2860d098c2e6ac35e8260b2bce9543c (patch) | |
tree | 2c56254305788cd3fab6225c0f8091e65bd94c27 /src | |
parent | e506cc8a3c15852a2776d9dc72695c5b5b2c7134 (diff) | |
download | pfsense-52e827acf2860d098c2e6ac35e8260b2bce9543c.zip pfsense-52e827acf2860d098c2e6ac35e8260b2bce9543c.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')
-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'])) { |