function biblio_delete in Bibliography Module 5
Same name and namespace in other branches
- 6.2 biblio.module \biblio_delete()
- 6 biblio.module \biblio_delete()
- 7 biblio.module \biblio_delete()
- 7.2 biblio.module \biblio_delete()
Implementation of hook_delete().
When a node is deleted, we need to clean up related tables.
File
- ./
biblio.module, line 1830
Code
function biblio_delete($node) {
db_query('DELETE FROM {biblio} WHERE nid = %d', $node->nid);
}