You are here

function statistics_uninstall in Drupal 7

Same name and namespace in other branches
  1. 8 core/modules/statistics/statistics.install \statistics_uninstall()
  2. 5 modules/statistics/statistics.install \statistics_uninstall()
  3. 6 modules/statistics/statistics.install \statistics_uninstall()
  4. 9 core/modules/statistics/statistics.install \statistics_uninstall()

Implements hook_uninstall().

File

modules/statistics/statistics.install, line 11
Install, update, and uninstall functions for the Statistics module.

Code

function statistics_uninstall() {

  // Remove variables.
  variable_del('statistics_count_content_views');
  variable_del('statistics_count_content_views_ajax');
  variable_del('statistics_enable_access_log');
  variable_del('statistics_flush_accesslog_timer');
  variable_del('statistics_day_timestamp');
  variable_del('statistics_block_top_day_num');
  variable_del('statistics_block_top_all_num');
  variable_del('statistics_block_top_last_num');
}