function search_comment_publish

Implements hook_comment_publish().

File

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

Code

function search_comment_publish($comment) {

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