You are here

function context_node_uninstall in Context Node 7

Same name and namespace in other branches
  1. 6 context_node.install \context_node_uninstall()

Implement hook_uninstall()

File

./context_node.install, line 49

Code

function context_node_uninstall() {

  // Delete all existing variables
  $types = array_keys(node_type_get_types());
  foreach ($types as $type) {
    variable_del("context_node_" . $type);
    variable_del("context_node_default_" . $type);
  }
}