Implements hook_node_delete().
function history_node_delete(Node $node) { db_delete('history') ->condition('nid', $node->nid) ->execute(); }