function search_comment_unpublish

Implements hook_comment_unpublish().

File

modules/search/search.module, line 850

Code

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

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