You are here

function statistics_uninstall in Drupal 6

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. 7 modules/statistics/statistics.install \statistics_uninstall()
  4. 9 core/modules/statistics/statistics.install \statistics_uninstall()

Implementation of hook_uninstall().

File

modules/statistics/statistics.install, line 33

Code

function statistics_uninstall() {

  // Remove tables.
  drupal_uninstall_schema('statistics');
  variable_del('statistics_count_content_views');
  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');
}