function workflow_types_delete in Workflow 5.2
Same name and namespace in other branches
- 5 workflow.module \workflow_types_delete()
1 call to workflow_types_delete()
- workflow_deletewf in ./
workflow.module - Delete a workflow from the database. Deletes all states, transitions and node type mappings too. Removes workflow state information from nodes participating in this workflow.
File
- ./
workflow.module, line 1919
Code
function workflow_types_delete($wid) {
db_query("DELETE FROM {workflow_type_map} WHERE wid = %d", $wid);
}