summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorErmal LUÇI <eri@pfsense.org>2015-02-23 21:20:41 +0100
committerErmal LUÇI <eri@pfsense.org>2015-02-23 21:20:41 +0100
commit361027c7f5a781dbf71efdcffd21067b6058871b (patch)
tree2827b5fc1db70aec2fe1c424abd579e6a431618a /usr
parent623e6d096d7596c712441cda5a7ee23bbd68ba95 (diff)
downloadpfsense-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')
-rw-r--r--usr/local/www/firewall_nat.php3
-rw-r--r--usr/local/www/firewall_nat_out.php2
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();
OpenPOWER on IntegriCloud