You are here

function pmticket_delete in Drupal PM (Project Management) 7

Implements hook_delete().

File

pmticket/pmticket.module, line 638
1: Hooks 2: Access functions

Code

function pmticket_delete($node) {

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