You are here

function _nat_delete_association in Node Auto Term [NAT] 6

Same name and namespace in other branches
  1. 5 nat.module \_nat_delete_association()
  2. 6.2 nat.module \_nat_delete_association()
  3. 7.2 nat.module \_nat_delete_association()
  4. 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 588
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);
}