function commerce_customer_uninstall in Commerce Core 7
Implements hook_uninstall().
File
- modules/
customer/ commerce_customer.install, line 180
Code
function commerce_customer_uninstall() {
module_load_include('module', 'commerce');
// Delete any field instance attached to a customer profile type.
commerce_delete_instances('commerce_customer_profile');
// Delete any customer profile reference fields.
commerce_delete_fields('commerce_customer_profile_reference');
}