You are here

function exclude_node_title_uninstall in Exclude Node Title 7

Same name and namespace in other branches
  1. 8 exclude_node_title.install \exclude_node_title_uninstall()
  2. 6 exclude_node_title.install \exclude_node_title_uninstall()

Implements hook_uninstall().

File

./exclude_node_title.install, line 24
Exclude Node Title module install/schema hooks.

Code

function exclude_node_title_uninstall() {
  variable_del('exclude_node_title_nid_list');
  variable_del('exclude_node_title_search');
  variable_del('exclude_node_title_hide_using_css');
  variable_del('exclude_node_title_themes_supporting_css');
  foreach (_node_types_build()->names as $key => $val) {
    variable_del('exclude_node_title_content_type_value_' . $key);
    variable_del('exclude_node_title_content_type_modes_' . $key);
  }
}