You are here

function biblio_ris_node_delete in Bibliography Module 7

File

modules/RIS/biblio_ris.module, line 148

Code

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