function search_comment_insert

Implements hook_comment_insert().

File

drupal/core/modules/search/search.module, line 833
Enables site-wide keyword searching.

Code

function search_comment_insert($comment) {

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