You are here

site_map.install in Site map 6

Same filename and directory in other branches
  1. 5 site_map.install
  2. 6.2 site_map.install
  3. 7 site_map.install

Original author: Nic Ivy Now maintained by by Fredrik Jonsson fredrik at combonet dot se

File

site_map.install
View source
<?php

/**
 * @file
 * Original author: Nic Ivy
 * Now maintained by by Fredrik Jonsson fredrik at combonet dot se
 */

/**
 * Implements hook_uninstall().
 */
function site_map_uninstall() {
  variable_del('site_map_message');
  variable_del('site_map_show_front');
  variable_del('site_map_show_blogs');
  variable_del('site_map_show_books');
  variable_del('site_map_show_menus');
  variable_del('site_map_show_faq');
  variable_del('site_map_show_vocabularies');
  variable_del('site_map_books_expanded');
  variable_del('site_map_show_count');
  variable_del('site_map_categories_depth');
  variable_del('site_map_show_rss_links');
  variable_del('site_map_rss_depth');
  variable_del('site_map_css');
  variable_del('site_map_term_threshold');
  variable_del('site_map_forum_threshold');
  if (function_exists('locale')) {
    $langs = locale_language_list();
    foreach ($langs as $lang_code => $lang_name) {
      variable_del("site_map_message_{$lang_code}");
    }
  }
}

Functions

Namesort descending Description
site_map_uninstall Implements hook_uninstall().