function statistics_uninstall

Same name in other branches
  1. 9 core/modules/statistics/statistics.install \statistics_uninstall()
  2. 8.9.x core/modules/statistics/statistics.install \statistics_uninstall()
  3. 10 core/modules/statistics/statistics.install \statistics_uninstall()
  4. 11.x core/modules/statistics/statistics.install \statistics_uninstall()

Implements hook_uninstall().

File

modules/statistics/statistics.install, line 11

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');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.