You are here

function pmtimetracking_delete in Drupal PM (Project Management) 7

Implements hook_delete().

File

pmtimetracking/pmtimetracking.module, line 574
Main module functions for PM Timetracking.

Code

function pmtimetracking_delete($node) {
  $num_deleted = db_delete('pmtimetracking')
    ->condition('nid', $node->nid)
    ->execute();
}