You are here

function commerce_gc_uninstall in Commerce GC 7

File

./commerce_gc.install, line 134
Installs Giftcard transaction table and default fields.

Code

function commerce_gc_uninstall() {

  // Remove field data for giftcard bundle.
  commerce_delete_instances('commerce_coupon', 'giftcard_coupon');

  // For giftcard use line item:
  commerce_delete_instances('commerce_line_item', 'giftcard_use');
}