You are here

function pmteam_node_revision_delete in Drupal PM (Project Management) 7

Implements hook_nodeapi().

File

pmteam/pmteam.module, line 377
Functionality for the Project Management Team module Organized into the following sections:

Code

function pmteam_node_revision_delete($node) {

  // Notice that we're matching a single revision based on the node's vid.
  db_delete('pmorganization')
    ->condition('vid', $node->vid)
    ->execute();
}