aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2015-10-12 10:45:32 +0200
committerdoktornotor <notordoktor@gmail.com>2015-10-12 10:45:32 +0200
commit29622eaa057e4eb1b0a60e171eb1bfa427a0d421 (patch)
tree7a0195310550928c3b34c7680abba4c2af23d6e3
parent2619487aa21f3abde6b93d75b76f0e10602b306b (diff)
downloadpfsense-packages-29622eaa057e4eb1b0a60e171eb1bfa427a0d421.tar.gz
pfsense-packages-29622eaa057e4eb1b0a60e171eb1bfa427a0d421.tar.bz2
pfsense-packages-29622eaa057e4eb1b0a60e171eb1bfa427a0d421.zip
Leave the AV cron-based updates accessible even with manual configuration
-rw-r--r--config/squid3/34/squid_antivirus.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/squid3/34/squid_antivirus.inc b/config/squid3/34/squid_antivirus.inc
index 7af50399..ce8c618d 100644
--- a/config/squid3/34/squid_antivirus.inc
+++ b/config/squid3/34/squid_antivirus.inc
@@ -615,7 +615,7 @@ function squid_antivirus_toggle_raw_config($state) {
global $config;
if ($state) {
// manual configuration enabled
- $opts = array("clamav_url", "clamav_safebrowsing", "clamav_update", "clamav_dbregion", "clamav_dbservers");
+ $opts = array("clamav_url", "clamav_safebrowsing", "clamav_dbregion", "clamav_dbservers");
foreach ($opts as $opt) {
if (isset($config['installedpackages']['squidantivirus']['config'][0][$opt])) {
unset($config['installedpackages']['squidantivirus']['config'][0][$opt]);