You are here

function casetracker_actions_set_status_action in Case Tracker 6

Same name and namespace in other branches
  1. 7 casetracker_actions/casetracker_actions.module \casetracker_actions_set_status_action()

Set Status action behavior.

File

casetracker_actions/casetracker_actions.module, line 69
casetracker_actions.module

Code

function casetracker_actions_set_status_action(&$object, $context = array()) {
  $nid = _casetracker_actions_get_nid($object->nid, $context['nid']);
  _casetracker_actions_act($nid, 'case_status_id', $context['status']);
}