function commerce_license_uninstall in Commerce License 7
Implements hook_uninstall().
File
- ./
commerce_license.install, line 184
Code
function commerce_license_uninstall() {
// Delete product and line item fields and their instances.
field_delete_field('commerce_license_type');
field_delete_field('commerce_license_duration');
field_delete_field('commerce_license');
// Delete variable settings.
variable_del('commerce_license_product_types');
variable_del('commerce_license_line_item_types');
}