function workflow_uninstall in Workflow 6
Same name and namespace in other branches
- 5.2 workflow.install \workflow_uninstall()
- 6.2 workflow.install \workflow_uninstall()
- 7.2 workflow.install \workflow_uninstall()
- 7 workflow.install \workflow_uninstall()
Implementation of hook_uninstall().
File
- ./
workflow.install, line 13
Code
function workflow_uninstall() {
variable_del('workflow_states_per_page');
// Delete type-workflow mapping variables.
foreach (node_get_types() as $type => $name) {
variable_del('workflow_' . $type);
}
drupal_uninstall_schema('workflow');
}