function biblio_delete_contributor_revision in Bibliography Module 6
Same name and namespace in other branches
- 6.2 includes/biblio.contributors.inc \biblio_delete_contributor_revision()
- 7 includes/biblio.contributors.inc \biblio_delete_contributor_revision()
- 7.2 includes/biblio.contributors.inc \biblio_delete_contributor_revision()
File
- ./
biblio.contributors.inc, line 117
Code
function biblio_delete_contributor_revision($cid, $vid) {
db_query('DELETE FROM {biblio_contributor}
WHERE cid = %d and vid = %d', array(
':cid' => $cid,
':vid' => $vid,
));
$count = db_affected_rows();
return $count;
}