function advanced_forum_comment_update in Advanced Forum 7.2
Implements hook_comment_update().
File
- ./
advanced_forum.module, line 458 - Enables the look and feel of other popular forum software.
Code
function advanced_forum_comment_update($comment) {
if (!empty($comment->node_type) && $comment->node_type == "comment_node_forum") {
// Comment unpublished?
if (!$comment->status) {
advanced_forum_statistics_replies(-1);
}
}
}