diff options
author | Ermal LUÇI <eri@pfsense.org> | 2015-02-23 21:20:41 +0100 |
---|---|---|
committer | Ermal LUÇI <eri@pfsense.org> | 2015-02-23 21:20:41 +0100 |
commit | 361027c7f5a781dbf71efdcffd21067b6058871b (patch) | |
tree | 2827b5fc1db70aec2fe1c424abd579e6a431618a /usr/local/www | |
parent | 623e6d096d7596c712441cda5a7ee23bbd68ba95 (diff) | |
download | pfsense-361027c7f5a781dbf71efdcffd21067b6058871b.zip pfsense-361027c7f5a781dbf71efdcffd21067b6058871b.tar.gz |
Ticket #4445 do not write config and remove its cache when applying settings its just behaviour from dinosaur era and should have been cleanded long time ago.
Diffstat (limited to 'usr/local/www')
-rw-r--r-- | usr/local/www/firewall_nat.php | 3 | ||||
-rw-r--r-- | usr/local/www/firewall_nat_out.php | 2 |
2 files changed, 0 insertions, 5 deletions
diff --git a/usr/local/www/firewall_nat.php b/usr/local/www/firewall_nat.php index f25bae9..dcdfa46 100644 --- a/usr/local/www/firewall_nat.php +++ b/usr/local/www/firewall_nat.php @@ -63,11 +63,8 @@ if ($_POST) { if ($_POST['apply']) { - write_config(); - $retval = 0; - unlink_if_exists("/tmp/config.cache"); $retval |= filter_configure(); $savemsg = get_std_save_message($retval); diff --git a/usr/local/www/firewall_nat_out.php b/usr/local/www/firewall_nat_out.php index 4a4779e..96d7a7b 100644 --- a/usr/local/www/firewall_nat_out.php +++ b/usr/local/www/firewall_nat_out.php @@ -64,8 +64,6 @@ if (!isset($config['nat']['outbound']['mode'])) $mode = $config['nat']['outbound']['mode']; if ($_POST['apply']) { - write_config(); - $retval = 0; $retval |= filter_configure(); |