search_comment_unpublish

  1. drupal
    1. 8
    2. 7
Versions
7 – 8 search_comment_unpublish($comment)

Implements hook_comment_unpublish().

Code

modules/search/search.module, line 850

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