Project

General

Profile

« Previous | Next » 

Revision 59c11dba

Added by Renato Botelho almost 8 years ago

Remove dead code using in the past to migrate from pfSense-repo-devel to a single pkg called pfSense-repo

View differences:

src/usr/local/www/system_update_settings.php
66 66

  
67 67
if ($_POST) {
68 68

  
69
	// Set the firmware branch, but only if we are not using it already
70
	if ($_POST['fwbranch']) {
71
		if (($_POST['fwbranch'] == "development") && !is_pkg_installed($g['product_name'] . "-repo-devel")) {
72
			pkg_switch_repo(true);
73
		} else if (($_POST['fwbranch'] == "stable") && !is_pkg_installed($g['product_name'] . "-repo")) {
74
			pkg_switch_repo(false);
75
		}
76
	}
77

  
78 69
	if ($_POST['disablecheck'] == "yes") {
79 70
		$config['system']['firmware']['disablecheck'] = true;
80 71
	} elseif (isset($config['system']['firmware']['disablecheck'])) {

Also available in: Unified diff