function search_comment_publish

Implements hook_comment_publish().

File

modules/search/search.module, line 842

Code

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

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