You are here

site_map.install in Site map 5

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

File

site_map.install
View source
<?php

/**
 * Implementation of 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');
  if (function_exists('locale')) {
    $langs = locale_supported_languages();
    foreach ($langs['name'] as $lang_code => $lang_name) {
      variable_del("site_map_message_{$lang_code}");
    }
  }
}

Functions

Namesort descending Description
site_map_uninstall Implementation of hook_uninstall().