search_comment_update

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

Implements hook_comment_update().

Code

modules/search/search.module, line 826

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