You are here

function prev_next_node_delete in Previous/Next API 7.2

Same name and namespace in other branches
  1. 7 prev_next.module \prev_next_node_delete()

Implements hook_node_delete().

File

./prev_next.module, line 365
The previous next module indexes the previous and next nodes based upon user-selectable criteria and stores this index in the database for faster retrieval later.

Code

function prev_next_node_delete($node) {

  //_prev_next_remove($node->nid);
  $_SESSION['prev_next_remove_nids'][] = $node->nid;
}