You are here

function workflow_uninstall in Workflow 6.2

Same name and namespace in other branches
  1. 5.2 workflow.install \workflow_uninstall()
  2. 6 workflow.install \workflow_uninstall()
  3. 7.2 workflow.install \workflow_uninstall()
  4. 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');
}