Closed (fixed)
Project:
Spam
Version:
5.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Jul 2007 at 06:40 UTC
Updated:
29 Oct 2007 at 00:41 UTC
Jump to comment: Most recent file
Comments
Comment #1
darkcompanion commentedFIXED by emptying the spam_reported table;
Comment #2
jeremy commentedLeaving open -- the spam module should have emptied the table itself. There's a bug that needs to be fixed, when I find the time.
Comment #3
nancydruI have seen this too. As a matter of fact, I still get notified even after the reported spam has aged off the table.
Comment #4
jody commentedyep, spam or no spam, it just keeps on sending those emails, I would love to find a way to get it to stop.
Comment #5
nancydruWell, let's start here. Go into the Spam module and locate "function spam_cron". Scroll down just a bit and you'll see "clean expired spam logs." Change that code to:
Comment #6
nancydruSometimes, the nuances of the php language escape me at first. Such as this case where an IF statement is both a comparison and and assignment statement. The IF statement needs to remain. All that is needed is the second db_query.
Comment #7
ahoeben commentedHere's a patch, that includes nancyw's code above, but also removes reported spam records in hook_comment and hook_nodeapi
Comment #8
ahoeben commentedPrevious patch was for 4.7. Here's the same for 5.x
Comment #9
jeremy commentedExcellent, thanks for the patch! Committed.
Comment #10
(not verified) commented