aboutsummaryrefslogtreecommitdiffstats
path: root/packages/spamd_db.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-02-04 23:25:32 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-02-04 23:25:32 +0000
commit2be1d58432139868f01a153f40931b05326e372d (patch)
tree1253aff7de5f45f26179765cf8aed38ce8fe907b /packages/spamd_db.php
parent525234cfd394fa751e2aeb7d8632800a49e0d015 (diff)
downloadpfsense-packages-2be1d58432139868f01a153f40931b05326e372d.tar.gz
pfsense-packages-2be1d58432139868f01a153f40931b05326e372d.tar.bz2
pfsense-packages-2be1d58432139868f01a153f40931b05326e372d.zip
Remove unnecessary call to spamdb during AJAX operations
Diffstat (limited to 'packages/spamd_db.php')
-rw-r--r--packages/spamd_db.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/packages/spamd_db.php b/packages/spamd_db.php
index 82c8425b..a5949fdd 100644
--- a/packages/spamd_db.php
+++ b/packages/spamd_db.php
@@ -46,7 +46,6 @@ if($_GET['action'] or $_POST['action']) {
$srcip = $_GET['srcip'];
if($_POST['srcip'])
$srcip = $_POST['srcip'];
- $pkgdb = split("\n", `/usr/local/sbin/spamdb`);
/* execute spamdb command */
if($action == "whitelist") {
exec("/usr/local/sbin/spamdb -a {$srcip}");