You are here

function forum_comment_delete in Drupal 7

Same name and namespace in other branches
  1. 8 core/modules/forum/forum.module \forum_comment_delete()
  2. 9 core/modules/forum/forum.module \forum_comment_delete()

Implements hook_comment_delete().

File

modules/forum/forum.module, line 520
Provides discussion forums.

Code

function forum_comment_delete($comment) {
  _forum_update_forum_index($comment->nid);
}