You are here

function search_comment_publish in Drupal 7

Implements hook_comment_publish().

File

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

Code

function search_comment_publish($comment) {

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