You are here

function biblio_crossref_node_delete in Bibliography Module 7

Same name and namespace in other branches
  1. 7.2 modules/crossref/biblio_crossref.module \biblio_crossref_node_delete()

File

modules/crossref/biblio_crossref.module, line 170

Code

function biblio_crossref_node_delete($node) {
  if ($node->type != 'biblio') {
    return;
  }
  db_delete('biblio_crossref')
    ->condition('nid', $node->nid)
    ->execute();
}