You are here

function simplify_uninstall in Simplify 7.2

Same name and namespace in other branches
  1. 7.3 simplify.install \simplify_uninstall()

Implement hook_uninstall().

File

./simplify.install, line 10
Install, update and uninstall functions for the Simplify module.

Code

function simplify_uninstall() {
  $node_types = node_type_get_types();

  // Add general node to list of node types (all nodes)
  array_unshift($node_types, array(
    'type' => 'node',
  ));
  foreach ($node_types as $key => $value) {
    simplify_uninstall_variable_del((array) $value);
  }
}