You are here

function node_recur_uninstall in Node recur 7.2

Same name and namespace in other branches
  1. 7 node_recur.install \node_recur_uninstall()

Implements hook_uninstall().

File

./node_recur.install, line 6

Code

function node_recur_uninstall() {
  foreach (node_type_get_types() as $type => $info) {
    variable_del("node_recur_enabled_node_type_{$type}");
    variable_del("node_recur_allow_past_dates_node_type_{$type}");
    variable_del("node_recur_max_span_node_type_{$type}");
    variable_del("node_recur_date_field_node_type_{$type}");
    variable_del("node_recur_node_form_node_type_{$type}");
  }
}