function certificate_node_delete in Certificate 8.3
Same name and namespace in other branches
- 7.3 certificate.module \certificate_node_delete()
- 7.2 certificate.module \certificate_node_delete()
- 3.x certificate.module \certificate_node_delete()
Implements hook_nodeapi().
File
- ./
certificate.module, line 375 - Certificate module.
Code
function certificate_node_delete($node) {
db_delete('certificate_node')
->condition('nid', $node->nid)
->execute();
db_delete('certificate_snapshots')
->condition('nid', $node->nid)
->execute();
}