function tracker_node_delete in Drupal 7
Implements hook_node_delete().
Deletes tracking information for a node.
File
- modules/
tracker/ tracker.module, line 193 - Tracks recent content posted by a user or users.
Code
function tracker_node_delete($node, $arg = 0) {
db_delete('tracker_node')
->condition('nid', $node->nid)
->execute();
db_delete('tracker_user')
->condition('nid', $node->nid)
->execute();
}