You are here

function pmteam_delete in Drupal PM (Project Management) 7

Implements hook_delete().

File

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

Code

function pmteam_delete($node) {

  // Notice that we're matching all revision, by using the node's nid.
  db_delete('pmteam')
    ->condition('nid', $node->nid)
    ->execute();
}