function commerce_addressbook_uninstall in Commerce Addressbook 7.2
Implements hook_uninstall().
File
- ./
commerce_addressbook.install, line 61
Code
function commerce_addressbook_uninstall() {
// Ensure the commerce_checkout module is loaded.
drupal_load('module', 'commerce_checkout');
foreach (commerce_checkout_panes() as $pane_id => $checkout_pane) {
variable_del('commerce_' . $pane_id . '_addressbook');
}
}