You are here

function countries_example_uninstall in Countries 8

Same name and namespace in other branches
  1. 7.2 modules/countries_example/countries_example.install \countries_example_uninstall()

Implements hook_uninstall().

File

modules/countries_example/countries_example.install, line 11
Provides a variable clean up via hook_uninstall().

Code

function countries_example_uninstall() {
  for ($i = 1; $i <= 2; $i++) {
    variable_del('countries_example_default_core_' . $i);
  }
  for ($i = 1; $i <= 8; $i++) {
    variable_del('countries_example_default_country_' . $i);
  }
}