You are here

function biblio_delete_contributors in Bibliography Module 7

Same name and namespace in other branches
  1. 6.2 includes/biblio.contributors.inc \biblio_delete_contributors()
  2. 6 biblio.contributors.inc \biblio_delete_contributors()
  3. 7.2 includes/biblio.contributors.inc \biblio_delete_contributors()

Parameters

$node:

Return value

unknown

2 calls to biblio_delete_contributors()
BiblioContributorWebTestCase::testBiblioUpdateContributors in tests/BiblioContributorWebTestCase.test
biblio_delete in ./biblio.module
Implements hook_delete().

File

includes/biblio.contributors.inc, line 204

Code

function biblio_delete_contributors($node) {
  $count = db_delete('biblio_contributor')
    ->condition('nid', $node->nid)
    ->execute();
  return $count;
}