You are here

function biblio_marc_node_delete in Bibliography Module 7.2

Same name and namespace in other branches
  1. 7 modules/marcParse/biblio_marc.module \biblio_marc_node_delete()

File

modules/marcParse/biblio_marc.module, line 16

Code

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