You are here

function support_node_delete in Support Ticketing System 7

Implementation of hook_node_delete().

File

./support.module, line 1066
support.module

Code

function support_node_delete($node) {
  if ($node->type == 'support_ticket') {
    db_delete('support_ticket')
      ->condition('nid', $node->nid)
      ->execute();
  }
}