Closed (fixed)
Project:
Spam
Version:
5.x-3.0-beta1
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Jan 2009 at 16:32 UTC
Updated:
27 Feb 2009 at 16:00 UTC
When I mark manually a comment as spam, the comment is unpublished but the Drupal's cache is not cleared (i.e. cache_page table is not being emptied). That makes the comment still visible on anonymous users.
Comments
Comment #1
drpitch commentedAfter viewing the source code, maybe the solution is add two calls to cache_clear_all(); in 'publish' and 'unpublish' cases in function comment_spamapi of spam_comment.inc file.
Comment #2
jeremy commentedFix commited to 5.x-3.0-dev and 6.x-dev. Thanks!