WC_Discounts | apply_coupon Removed Unused Variable

This commit is contained in:
Khan M Rashedun-Naby 2018-06-06 01:41:54 +06:00
parent 36c6aaf7a7
commit ba5671c052
1 changed files with 0 additions and 1 deletions

View File

@ -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() ) {