You are here

function statistics_uninstall in Drupal 5

Same name and namespace in other branches
  1. 8 core/modules/statistics/statistics.install \statistics_uninstall()
  2. 6 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 64

Code

function statistics_uninstall() {
  db_query('DROP TABLE {accesslog}');
  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');
}