You are here

function biblio_ris_entity_delete in Bibliography Module 7.2

File

modules/RIS/biblio_ris.module, line 121

Code

function biblio_ris_entity_delete($entity, $type) {
  if ($type != 'biblio') {
    return;
  }
  db_delete('biblio_ris')
    ->condition('bid', $entity->bid)
    ->execute();
}