You are here

function _prev_next_modify in Previous/Next API 6

Same name and namespace in other branches
  1. 7.2 prev_next.module \_prev_next_modify()
  2. 7 prev_next.module \_prev_next_modify()

Update the prev_next records.

1 call to _prev_next_modify()
prev_next_nodeapi in ./prev_next.module
Implementation of hook_nodeapi().

File

./prev_next.module, line 456

Code

function _prev_next_modify($nid) {

  // Find out if any other nodes point to this node and update them
  _prev_next_modify_pointing_nodes($nid);

  // Then update this one
  _prev_next_add($nid);
}