You are here

function workflow_uninstall in Workflow 7

Same name and namespace in other branches
  1. 5.2 workflow.install \workflow_uninstall()
  2. 6.2 workflow.install \workflow_uninstall()
  3. 6 workflow.install \workflow_uninstall()
  4. 7.2 workflow.install \workflow_uninstall()

Implements hook_uninstall().

File

./workflow.install, line 18
Install, update and uninstall functions for the workflow module.

Code

function workflow_uninstall() {
  variable_del('workflow_states_per_page');

  // Delete type-workflow mapping variables.
  foreach (node_type_get_types() as $type => $name) {
    variable_del('workflow_' . $type);
  }
}