function workflow_update in Workflow 5
Same name and namespace in other branches
- 5.2 workflow.module \workflow_update()
- 6.2 workflow.module \workflow_update()
- 6 workflow.module \workflow_update()
Save a workflow's name in the database.
Parameters
$name: The name of the workflow.
1 call to workflow_update()
File
- ./
workflow.module, line 1520
Code
function workflow_update($wid, $name, $tab_roles) {
db_query("UPDATE {workflows} SET name = '%s', tab_roles = '%s' WHERE wid = %d", $name, implode(',', $tab_roles), $wid);
}