You are here

function visitors_geoip_uninstall in Visitors 7

Same name and namespace in other branches
  1. 8.2 visitors_geoip.install \visitors_geoip_uninstall()
  2. 8 visitors_geoip.install \visitors_geoip_uninstall()
  3. 7.2 visitors_geoip.install \visitors_geoip_uninstall()

Implements hook_uninstall().

File

./visitors_geoip.install, line 245
Install/uninstall visitors geoip module.

Code

function visitors_geoip_uninstall() {
  db_drop_field('visitors', 'visitors_continent_code');
  db_drop_field('visitors', 'visitors_country_code');
  db_drop_field('visitors', 'visitors_country_code3');
  db_drop_field('visitors', 'visitors_country_name');
  db_drop_field('visitors', 'visitors_region');
  db_drop_field('visitors', 'visitors_city');
  db_drop_field('visitors', 'visitors_postal_code');
  db_drop_field('visitors', 'visitors_latitude');
  db_drop_field('visitors', 'visitors_longitude');
  db_drop_field('visitors', 'visitors_dma_code');
  db_drop_field('visitors', 'visitors_area_code');
}