You are here

function state_flow_node_revision_delete in State Machine 6

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

Implementation of hook_node_revision_delete().

1 string reference to 'state_flow_node_revision_delete'
state_flow_nodeapi in modules/state_flow/state_flow.module
Implementation of hook_nodeapi().

File

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

Code

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