function search_comment_unpublish in Drupal 7
Implements hook_comment_unpublish().
File
- modules/
search/ search.module, line 850 - Enables site-wide keyword searching.
Code
function search_comment_unpublish($comment) {
// Reindex the node when comments are unpublished.
search_touch_node($comment->nid);
}