1.20.x search.module search_comment_delete($comment)

Implements hook_comment_delete().

File

modules/search/search.module, line 887
Enables site-wide keyword searching.

Code

function search_comment_delete($comment) {
  // Reindex the node when comments are deleted.
  search_touch_node($comment->nid);
}