summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2017-03-07 11:44:06 +0100
committerGitHub <noreply@github.com>2017-03-07 11:44:06 +0100
commit18278432fdd58c440f72eff1868eda5c1c9a8320 (patch)
tree7c9f490a9a244b38c14872ead2f38a88819fbe62 /src
parent2a988052a840c17698c7f014ee0fe8bfba57943d (diff)
downloadpfsense-18278432fdd58c440f72eff1868eda5c1c9a8320.zip
pfsense-18278432fdd58c440f72eff1868eda5c1c9a8320.tar.gz
Add reason to write_config() calls
Diffstat (limited to 'src')
-rw-r--r--src/usr/local/www/services_unbound.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/services_unbound.php b/src/usr/local/www/services_unbound.php
index e000057..3f767c9 100644
--- a/src/usr/local/www/services_unbound.php
+++ b/src/usr/local/www/services_unbound.php
@@ -204,7 +204,7 @@ if ($_POST['act'] == "del") {
if ($_POST['type'] == 'host') {
if ($a_hosts[$_POST['id']]) {
unset($a_hosts[$_POST['id']]);
- write_config();
+ write_config(gettext("Host override deleted from DNS Resolver."));
mark_subsystem_dirty('unbound');
header("Location: services_unbound.php");
exit;
@@ -212,7 +212,7 @@ if ($_POST['act'] == "del") {
} elseif ($_POST['type'] == 'doverride') {
if ($a_domainOverrides[$_POST['id']]) {
unset($a_domainOverrides[$_POST['id']]);
- write_config();
+ write_config(gettext("Domain override deleted from DNS Resolver."));
mark_subsystem_dirty('unbound');
header("Location: services_unbound.php");
exit;
OpenPOWER on IntegriCloud