From 2be1d58432139868f01a153f40931b05326e372d Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 4 Feb 2006 23:25:32 +0000 Subject: Remove unnecessary call to spamdb during AJAX operations --- packages/spamd_db.php | 1 - 1 file changed, 1 deletion(-) (limited to 'packages') 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}"); -- cgit v1.2.3