function workflow_delete_workflow_transitions_by_roles in Workflow 7.2
Same name and namespace in other branches
- 7 workflow.module \workflow_delete_workflow_transitions_by_roles()
Given a sid and target_sid, get the transition. This will be unique.
File
- ./
workflow.deprecated.inc, line 491 - Contains contains per-class functions, that are deprecated.
Code
function workflow_delete_workflow_transitions_by_roles($roles) {
// NOTE: This allows us to send notifications out.
foreach (workflow_get_workflow_transitions_by_roles($roles) as $transition) {
workflow_delete_workflow_transitions_by_tid($transition->tid);
}
}