You are here

function biblio_delete_revision_keywords in Bibliography Module 7

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

Delete "node revision to keyword" links from the biblio_keyword table.

Parameters

$node:

Return value

The number of links removed

File

includes/biblio.keywords.inc, line 374
Contains all keyword related functions.

Code

function biblio_delete_revision_keywords($node) {
  return db_delete('biblio_keyword')
    ->condition('vid', $node->vid)
    ->execute();
}