You are here

function weather_uninstall in Weather 5

Same name and namespace in other branches
  1. 5.6 weather.install \weather_uninstall()
  2. 6.5 weather.install \weather_uninstall()
  3. 7.3 weather.install \weather_uninstall()
  4. 7 weather.install \weather_uninstall()
  5. 7.2 weather.install \weather_uninstall()

Implementation of hook_uninstall().

File

./weather.install, line 99

Code

function weather_uninstall() {
  variable_del('weather_country');
  variable_del('weather_icao');
  variable_del('weather_icao_name');
  variable_del('weather_units');
  variable_del('weather_use_cron');
  variable_del('weather_fetch');
  db_query('DROP TABLE {weather}');
  db_query('DROP TABLE {weather_config}');
}