From 90beeccde2279ff44438fbc197b1f67ae028faa8 Mon Sep 17 00:00:00 2001 From: doktornotor Date: Tue, 11 Aug 2015 12:16:06 +0200 Subject: spamd_verify_to_address.php - remove useless config_(un)lock calls This function does nothing but return. --- config/spamd/spamd_verify_to_address.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'config/spamd/spamd_verify_to_address.php') 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 +?> -- cgit v1.2.3