function _nat_delete_association in Node Auto Term [NAT] 7.2
Same name and namespace in other branches
- 5 nat.module \_nat_delete_association()
- 6.2 nat.module \_nat_delete_association()
- 6 nat.module \_nat_delete_association()
- 7 nat.module \_nat_delete_association()
Delete node-term associations from the NAT table.
Parameters
$nid: Node ID of the node which is to be removed from the NAT table.
1 call to _nat_delete_association()
- nat_node_delete in ./
nat.module - Implements hook_node_delete().
File
- ./
nat.module, line 678 - NAT - node auto term - is a helper module that automatically creates a term using the same title as a node.
Code
function _nat_delete_association($nid) {
db_delete('nat')
->condition('nid', $nid)
->execute();
}