function workflow_actions_remove in Workflow 5
Same name and namespace in other branches
- 5.2 workflow.module \workflow_actions_remove()
- 7 workflow_actions/workflow_actions.module \workflow_actions_remove()
3 calls to workflow_actions_remove()
- workflow_actions_remove_confirm_submit in ./
workflow.module - workflow_actions_remove_form_submit in ./
workflow.module - workflow_transition_delete in ./
workflow.module - Delete a transition (and any associated actions).
File
- ./
workflow.module, line 1757
Code
function workflow_actions_remove($tid, $aid) {
actions_unregister($aid, 'workflow', $tid);
db_query("DELETE FROM {workflow_actions} WHERE tid = %d AND aid = '%s'", $tid, $aid);
}