function tracker_node_insert

7.x tracker.module tracker_node_insert($node, $arg = 0)

Implements hook_node_insert().

Adds new tracking information for this node since it's new.

File

drupal-7.x/modules/tracker/tracker.module, line 175
Tracks recent content posted by a user or users.

Code

function tracker_node_insert($node, $arg = 0) {
  _tracker_add($node->nid, $node->uid, $node->changed);
}