function workflow_update_workflow_transitions_roles in Workflow 7
Given a tid and new roles, update them. @todo - this should be refactored out, and the update made a full actual update.
1 call to workflow_update_workflow_transitions_roles()
- _workflow_admin_ui_update_configured_transitions in workflow_admin_ui/workflow_admin_ui.module 
- Update the transitions for a workflow.
File
- ./workflow.module, line 774 
- Support workflows made up of arbitrary states.
Code
function workflow_update_workflow_transitions_roles($tid, $roles) {
  return db_update('workflow_transitions')
    ->fields(array(
    'roles' => implode(',', $roles),
  ))
    ->condition('tid', $tid, '=')
    ->execute();
}