You are here

function uc_coupon_purchase_uninstall in Ubercart Discount Coupons 6

Same name and namespace in other branches
  1. 5 uc_coupon_purchase/uc_coupon_purchase.install \uc_coupon_purchase_uninstall()
  2. 7.3 uc_coupon_purchase/uc_coupon_purchase.install \uc_coupon_purchase_uninstall()
  3. 7.2 uc_coupon_purchase/uc_coupon_purchase.install \uc_coupon_purchase_uninstall()

File

uc_coupon_purchase/uc_coupon_purchase.install, line 75

Code

function uc_coupon_purchase_uninstall() {
  drupal_uninstall_schema('uc_coupon_purchase');
  db_query("DELETE FROM {variable} WHERE name LIKE 'uc_coupon_purchase_%%'");
}