function uc_ip2country_uninstall in IP-based Determination of a Visitor's Country 5
Implementation of hook_uninstall().
Removes all tables and variables inserted into the database by this module.
File
- ./uc_ip2country.install, line 56 
Code
function uc_ip2country_uninstall() {
  /* Remove all database tables created by this module */
  db_query("DROP TABLE {ip2country}");
  /* Remove all module variables from the database */
  variable_del('ip2country_debug');
  variable_del('ip2country_test_type');
  variable_del('ip2country_test_ip_address');
  variable_del('ip2country_test_country');
  variable_del('ip2country_rir');
  variable_del('ip2country_last_update');
  variable_del('ip2country_lookup');
  variable_del('ip2country_lookup_button');
  variable_del('ip2country_update_interval');
  variable_del('ip2country_update_database');
  variable_del('ip2country_watchdog');
}