You are here

function commerce_product_uninstall in Commerce Core 7

Implements hook_uninstall().

File

modules/product/commerce_product.install, line 191

Code

function commerce_product_uninstall() {

  // Delete any field instance attached to a product type.
  module_load_include('module', 'commerce');
  commerce_delete_instances('commerce_product');
}