You are here

function commerce_line_item_uninstall in Commerce Core 7

Implements hook_uninstall().

File

modules/line_item/commerce_line_item.install, line 110

Code

function commerce_line_item_uninstall() {
  module_load_include('module', 'commerce');

  // Delete any field instance attached to a line item type.
  commerce_delete_instances('commerce_line_item');

  // Delete any line item reference fields.
  commerce_delete_fields('commerce_line_item_reference');
}