You are here

function uc_coupon_purchase_uninstall in Ubercart Discount Coupons 5

Same name and namespace in other branches
  1. 6 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 20

Code

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