function _nat_delete_association in Node Auto Term [NAT] 5
Same name and namespace in other branches
- 6.2 nat.module \_nat_delete_association()
- 6 nat.module \_nat_delete_association()
- 7.2 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_nodeapi in ./
nat.module - Implementation of hook_nodeapi().
File
- ./
nat.module, line 674 - 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_query("DELETE FROM {nat} WHERE nid = %d", $nid);
}