function pmticket_node_revision_delete in Drupal PM (Project Management) 7
Implements hook_node_revision_delete().
File
- pmticket/
pmticket.module, line 628 - 1: Hooks 2: Access functions
Code
function pmticket_node_revision_delete($node) {
// Notice that we're matching a single revision based on the node's vid.
db_delete('pmticket')
->condition('vid', $node->vid)
->execute();
}