You are here

function content_theme_uninstall in Content Theme 7

Same name and namespace in other branches
  1. 6 content_theme.install \content_theme_uninstall()
  2. 7.2 content_theme.install \content_theme_uninstall()

Implements hook_uninstall().

File

./content_theme.install, line 62
Install, update and uninstall functions for the content_theme module.

Code

function content_theme_uninstall() {
  foreach (node_type_get_types() as $node_type => $value) {
    variable_del('content_theme_content_type_edit_' . $node_type);
    variable_del('content_theme_content_type_view_' . $node_type);
  }
  variable_del('content_theme_content_wide_edit');
  variable_del('content_theme_content_wide_view');
  variable_del('content_theme_content_node_list');
  variable_del('content_theme_content_type_list');
  variable_del('content_theme_content_wide_list');
}