function workflow_access_delete_workflow_access_by_sid_rid in Workflow 7.2
Same name and namespace in other branches
- 7 workflow_access/workflow_access.module \workflow_access_delete_workflow_access_by_sid_rid()
Given a sid and rid (the unique key), delete all access data for this state.
1 call to workflow_access_delete_workflow_access_by_sid_rid()
- workflow_access_insert_workflow_access_by_sid in workflow_access/
workflow_access.module - Given data, insert into workflow access - we never update.
File
- workflow_access/
workflow_access.module, line 257 - Provides node access permissions based on workflow states.
Code
function workflow_access_delete_workflow_access_by_sid_rid($sid, $rid) {
db_delete('workflow_access')
->condition('sid', $sid)
->condition('rid', $rid)
->execute();
}