function node_registration_node_delete in Node registration 7
Implements hook_node_delete().
Delete registrations and settings for this node.
File
- ./
node_registration.module, line 1018
Code
function node_registration_node_delete($node) {
db_delete('node_registration')
->condition('nid', $node->nid)
->execute();
db_delete('node_registration_node')
->condition('nid', $node->nid)
->execute();
}