You are here

function new_faq_node_revision_delete in Frequently Asked Questions 7.2

Implements hook_node_revision_delete().

File

./faq.module, line 369
The FAQ module allows users to create a FAQ page, with questions and answers displayed in different styles, according to the settings.

Code

function new_faq_node_revision_delete($node) {
  db_delete('faq_questions')
    ->condition('nid', $node->nid)
    ->condition('vid', $node->vid)
    ->execute();
}