You are here

function postal_code_uninstall in Postal Code 7

Implements hook_uninstall().

File

./postal_code.install, line 22
Based on example from http://www.slideshare.net/zugec/fields-in-core-how-to-create-a-custom-field and http://drupal.org/project/examples.

Code

function postal_code_uninstall() {

  // Delete all variables set in variable table.
  variable_del('postal_code_validate');
  variable_del('postal_code_valid_countries');
  drupal_set_message(st('Postal Code module has been uninstalled successfully.'));
}