You are here

function commerce_usps_uninstall in Commerce USPS 7

Same name and namespace in other branches
  1. 7.2 commerce_usps.install \commerce_usps_uninstall()

Implements hook_uninstall().

File

./commerce_usps.install, line 11
Handles installation for Commerce USPS module.

Code

function commerce_usps_uninstall() {
  $fields = array(
    'commerce_usps_postal_code',
    'commerce_usps_services',
    'commerce_usps_markup_type',
    'commerce_usps_markup',
    'commerce_usps_connection_address',
    'commerce_usps_user',
  );
  foreach ($fields as $data) {
    variable_del($data);
  }
}