function search_api_attachments_comment_comment_delete in Search API attachments 7
Implements hook_comment_delete().
File
- contrib/
search_api_attachments_comment/ search_api_attachments_comment.module, line 78 - Drupal hooks.
Code
function search_api_attachments_comment_comment_delete($comment) {
// Mark the node of the comment to be reindexed.
search_api_track_item_change('node', array(
$comment->nid,
));
}