function search_comment_insert

Implements hook_comment_insert().

File

modules/search/search.module, line 818

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.