You are here

function pmorganization_delete in Drupal PM (Project Management) 7

Implements hook_delete().

File

pmorganization/pmorganization.module, line 431

Code

function pmorganization_delete($node) {

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