function faq_node_revision_delete in Frequently Asked Questions 7
Implements hook_node_revision_delete().
File
- ./
faq.module, line 338 - The FAQ module allows users to create a FAQ page, with questions and answers displayed in different styles, according to the settings.
Code
function faq_node_revision_delete($node) {
db_delete('faq_questions')
->condition('nid', $node->nid)
->condition('vid', $node->vid)
->execute();
}