1 search.module search_comment_publish($comment)

Implements hook_comment_publish().

File

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

Code

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