You are here

function commerce_ups_uninstall in Commerce UPS 7

Same name and namespace in other branches
  1. 7.2 commerce_ups.install \commerce_ups_uninstall()

Implements hook_uninstall().

File

./commerce_ups.install, line 11
Handles installation for Commerce UPS module.

Code

function commerce_ups_uninstall() {
  $fields = array(
    'commerce_ups_account_id',
    'commerce_ups_user_id',
    'commerce_ups_password',
    'commerce_ups_access_key',
    'commerce_ups_encrypt',
    'commerce_ups_services',
    'commerce_ups_company_name',
    'commerce_ups_address_line_1',
    'commerce_ups_address_line_2',
    'commerce_ups_city',
    'commerce_ups_state',
    'commerce_ups_postal_code',
    'commerce_ups_country_code',
    'commerce_ups_packaging',
    'commerce_ups_pick_up_schedule',
    'commerce_ups_show_logo',
    'commerce_ups_default_package_size_length',
    'commerce_ups_default_package_size_width',
    'commerce_ups_default_package_size_height',
    'commerce_ups_rates_timeout',
    'commerce_ups_shipto_residential',
    'commerce_ups_log',
  );
  foreach ($fields as $data) {
    variable_del($data);
  }
}