You are here

function nodereference_count_exit in Nodereference Count 7

Implements hook_exit().

File

./nodereference_count.module, line 427
Defines a field type for counting the references to a node.

Code

function nodereference_count_exit() {
  $nids = nodereference_count_delayed_nids();
  if (!empty($nids)) {
    foreach ($nids as $nid) {
      nodereference_count_update_count($nid);
    }
  }
}