You are here

function sbp_nodes_comment_unpublish in Search by Page 7

Implements hook_comment_unpublish().

When a comment is added, edited, or deleted, set its node for reindexing at the next cron run.

File

./sbp_nodes.module, line 298
Module file for Search by Page Nodes, a sub-module for Search by Page.

Code

function sbp_nodes_comment_unpublish($comment) {
  search_by_page_force_reindex('sbp_nodes', $comment->nid);
}