You are here

function sbp_nodes_node_delete in Search by Page 7

Implements hook_node_delete().

When a node is deleted, remove it from the search index.

File

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

Code

function sbp_nodes_node_delete($node) {
  search_by_page_force_remove('sbp_nodes', $node->nid);
}