You are here

function visitors_uninstall in Visitors 7.2

Same name and namespace in other branches
  1. 8.2 visitors.install \visitors_uninstall()
  2. 8 visitors.install \visitors_uninstall()
  3. 7 visitors.install \visitors_uninstall()
  4. 7.0 visitors.install \visitors_uninstall()

Uninstall the module with database table and module settings.

File

./visitors.install, line 20
Install/uninstall visitors module.

Code

function visitors_uninstall() {
  drupal_uninstall_schema('visitors');
  variable_del('visitors_exclude_administer_users');
  variable_del('visitors_chart_height');
  variable_del('visitors_chart_width');
  variable_del('visitors_flush_log_timer');
  variable_del('visitors_last_registered_user');
  variable_del('visitors_lines_per_page');
  variable_del('visitors_published_nodes');
  variable_del('visitors_registered_user');
  variable_del('visitors_show_total_visitors');
  variable_del('visitors_show_unique_visitor');
  variable_del('visitors_since_date');
  variable_del('visitors_start_count_total_visitors');
  variable_del('visitors_user_ip');
}