function certificate_node_delete in Certificate 3.x
Same name and namespace in other branches
- 8.3 certificate.module \certificate_node_delete()
- 7.3 certificate.module \certificate_node_delete()
- 7.2 certificate.module \certificate_node_delete()
Implements hook_nodeapi().
File
- ./
certificate.module, line 388 - 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();
}