function uc_coupon_delete in Ubercart Discount Coupons 7.3
Same name and namespace in other branches
- 7.2 uc_coupon.entity.inc \uc_coupon_delete()
Delete a coupon object.
Parameters
$cid: The id of the coupon to delete.
1 call to uc_coupon_delete()
- uc_coupon_delete_confirm_submit in ./
uc_coupon.admin.inc - Delete coupon confirm form submit handler.
File
- ./
uc_coupon.module, line 2194 - Provides discount codes and gift certificates for Ubercart.
Code
function uc_coupon_delete($cid) {
entity_delete('uc_coupon', $cid);
}