mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
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.
This commit is contained in:
parent
623e6d096d
commit
361027c7f5
@ -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);
|
||||
|
||||
|
||||
@ -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();
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user