function tracker_node_delete
Implements hook_node_delete().
Deletes tracking information for a node.
File
-
modules/
tracker/ tracker.module, line 193
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();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.