You are here

function download_count_uninstall in Download Count 7.3

Same name and namespace in other branches
  1. 8 download_count.install \download_count_uninstall()
  2. 5 download_count.install \download_count_uninstall()
  3. 6.2 download_count.install \download_count_uninstall()
  4. 6 download_count.install \download_count_uninstall()
  5. 7.2 download_count.install \download_count_uninstall()

Implements hook_uninstall().

File

./download_count.install, line 137
Installation code for the download_count module.

Code

function download_count_uninstall() {
  variable_del('download_count_excluded_file_extensions');
  variable_del('download_count_view_page_limit');
  variable_del('download_count_view_page_items');
  variable_del('download_count_view_page_title');
  variable_del('download_count_view_page_header');
  variable_del('download_count_view_page_footer');
  variable_del('download_count_export_range');
  variable_del('download_count_sparklines');
  variable_del('download_count_sparkline_min');
  variable_del('download_count_sparkline_height');
  variable_del('download_count_sparkline_width');
  variable_del('download_count_last_cron');
  variable_del('download_count_details_daily_limit');
  variable_del('download_count_details_weekly_limit');
  variable_del('download_count_details_monthly_limit');
  variable_del('download_count_details_yearly_limit');
  variable_del('download_count_flood_limit');
  variable_del('download_count_flood_window');
  drupal_set_message(t('The download_count module has been uninstalled.'));
}