You are here

function state_flow_node_delete in State Machine 6

Same name and namespace in other branches
  1. 7 modules/state_flow/state_flow.module \state_flow_node_delete()
  2. 7.2 modules/state_flow/state_flow.module \state_flow_node_delete()

Implementation of hook_node_delete().

File

modules/state_flow/state_flow.module, line 252
A base implementation of the state machine class and its relationship to revisions

Code

function state_flow_node_delete(&$node) {
  db_query('DELETE FROM {node_revision_states} WHERE nid = %d', $node->nid);
}