Hi,
I'm developing a "points" system on our website and we need to give points to the users when a node/comment that previously was unpublished (blocked by Antispam) becomes published for the first time.
In the code I can see that for nodes you decided to call 0 hooks, which makes it impossible for me to hook on this action and give the points as needed.
For comments you decided to call only comment_publish and not comment_updated even though the comment IS updated.
What's the reason behind this ? Seems to me like you have two choices:
1) Call node_update and comment_update after updating the database.
2) Create a custom hook: hook_antispam_content_published() that is called after updating the database. This way I can implement this hook and do whatever I want to in it.
I can create a patch for either 1 or 2, depending on which way you want to go.
I'd hate to change the module on my end and have a different version but I really need this.
Thanks !