aboutsummaryrefslogtreecommitdiffstats
path: root/config/squid3
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2015-10-14 20:51:49 +0200
committerdoktornotor <notordoktor@gmail.com>2015-10-14 20:51:49 +0200
commitfd10cef996f12b543d79aed2919651c7f7f1e8c4 (patch)
tree6905058f52e42c386afaa28b8f79f17616ac26d3 /config/squid3
parentdfbdb090f15eb0818e0021e2127afa0e6a5b143e (diff)
downloadpfsense-packages-fd10cef996f12b543d79aed2919651c7f7f1e8c4.tar.gz
pfsense-packages-fd10cef996f12b543d79aed2919651c7f7f1e8c4.tar.bz2
pfsense-packages-fd10cef996f12b543d79aed2919651c7f7f1e8c4.zip
Unset reverse proxy mappings if 'Keep Settings/Data' is disabled
Reported by stanthewizard @ https://forum.pfsense.org/index.php?topic=100783.0
Diffstat (limited to 'config/squid3')
-rwxr-xr-xconfig/squid3/34/squid.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/squid3/34/squid.inc b/config/squid3/34/squid.inc
index 3161a2a5..21d269a3 100755
--- a/config/squid3/34/squid.inc
+++ b/config/squid3/34/squid.inc
@@ -603,6 +603,9 @@ function squid_deinstall_command() {
if (is_array($config['installedpackages']['squidreverseredir'])) {
unset($config['installedpackages']['squidreverseredir']);
}
+ if (is_array($config['installedpackages']['squidreverseuri'])) {
+ unset($config['installedpackages']['squidreverseuri']);
+ }
if (is_array($config['installedpackages']['squidsync'])) {
unset($config['installedpackages']['squidsync']);
}