mark_as_spam should only be fired if the content is actually spam. mark_as_not_spam should only be fired when the content is not spam.

This is for correct training of the the bayesian filter.

Patch in first comment.

CommentFileSizeAuthor
#1 1690686_spamapi_fix.patch911 bytescweagans
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

cweagans’s picture

FileSize
911 bytes
cweagans’s picture

Issue tags: +Spam hitlist

Tagging.

apaderno’s picture

Issue summary: View changes
Status: Needs review » Closed (outdated)

I am closing this issue, since it's for a Drupal version no longer supported.