commerce_ups.install in Commerce UPS 7
Same filename and directory in other branches
Handles installation for Commerce UPS module.
File
commerce_ups.installView source
<?php
/**
* @file
* Handles installation for Commerce UPS module.
*/
/**
* Implements hook_uninstall().
*/
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);
}
}
Functions
Name | Description |
---|---|
commerce_ups_uninstall | Implements hook_uninstall(). |