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:
Ermal LUÇI 2015-02-23 21:20:41 +01:00
parent 8252ccfa74
commit d5b1a27904
2 changed files with 0 additions and 5 deletions

View File

@ -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);

View File

@ -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();