You are here

function workflow_get_recent_node_history in Workflow 7.2

Same name and namespace in other branches
  1. 7 workflow.module \workflow_get_recent_node_history()

Get most recent transition for a node.

@deprecated: workflow_get_recent_node_history() --> workflow_transition_load_single()

File

./workflow.deprecated.inc, line 703
Contains contains per-class functions, that are deprecated.

Code

function workflow_get_recent_node_history($nid) {
  $field_name = '';
  return workflow_transition_load_single('node', $nid, $field_name);
}