WC_Discounts | apply_coupon Removed Unused Variable
This commit is contained in:
parent
36c6aaf7a7
commit
ba5671c052
|
@ -257,7 +257,6 @@ class WC_Discounts {
|
|||
}
|
||||
|
||||
$items_to_apply = $this->get_items_to_apply_coupon( $coupon );
|
||||
$coupon_type = $coupon->get_discount_type();
|
||||
|
||||
// Core discounts are handled here as of 3.2.
|
||||
switch ( $coupon->get_discount_type() ) {
|
||||
|
|
Loading…
Reference in New Issue