You are here

function search_comment_insert in Drupal 7

Implements hook_comment_insert().

File

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

Code

function search_comment_insert($comment) {

  // Reindex the node when comments are added.
  search_touch_node($comment->nid);
}