You are here

function sbp_nodes_node_update in Search by Page 7

Implements hook_node_update().

When a node is updated, sets it up for reindexing at the next cron run.

File

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

Code

function sbp_nodes_node_update($node) {
  search_by_page_force_reindex('sbp_nodes', $node->nid);
}