aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2015-08-11 12:16:06 +0200
committerdoktornotor <notordoktor@gmail.com>2015-08-11 12:16:06 +0200
commit90beeccde2279ff44438fbc197b1f67ae028faa8 (patch)
tree6e74bf66680211a85c38073a97f1a02e4fe918ee /config
parent0c3d29b311af6aee9df82eb6ffbc0046a589cf87 (diff)
downloadpfsense-packages-90beeccde2279ff44438fbc197b1f67ae028faa8.tar.gz
pfsense-packages-90beeccde2279ff44438fbc197b1f67ae028faa8.tar.bz2
pfsense-packages-90beeccde2279ff44438fbc197b1f67ae028faa8.zip
spamd_verify_to_address.php - remove useless config_(un)lock calls
This function does nothing but return.
Diffstat (limited to 'config')
-rw-r--r--config/spamd/spamd_verify_to_address.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/config/spamd/spamd_verify_to_address.php b/config/spamd/spamd_verify_to_address.php
index 56821370..504107d3 100644
--- a/config/spamd/spamd_verify_to_address.php
+++ b/config/spamd/spamd_verify_to_address.php
@@ -114,9 +114,7 @@ foreach($grey_hosts as $grey) {
if($debug)
echo "/usr/local/sbin/spamdb -a \"<$email_to>\" -T\n";
exec("/usr/local/sbin/spamdb -a \"<$email_to>\" -T");
- config_lock();
system("echo $server_ip >> /var/db/blacklist.txt");
- config_unlock();
$result = mwexec("/usr/local/sbin/spamdb -a $server_ip -t");
} else {
if($debug)
@@ -141,4 +139,4 @@ if($debug) {
mwexec("/sbin/pfctl -q -t blacklist -T replace -f /var/db/blacklist.txt");
-?> \ No newline at end of file
+?>