unused prop

This commit is contained in:
Mike Jolley 2017-08-23 14:21:42 +01:00
parent 4c2c051773
commit 714c4c672e
1 changed files with 0 additions and 1 deletions

View File

@ -1017,7 +1017,6 @@ abstract class WC_Abstract_Order extends WC_Abstract_Legacy_Order {
$coupons = $this->get_items( 'coupon' );
$coupon_code_to_id = wc_list_pluck( $coupons, 'get_id', 'get_code' );
$all_discounts = $discounts->get_discounts();
$item_discounts = $discounts->get_discounts_by_item();
$coupon_discounts = $discounts->get_discounts_by_coupon();
if ( $coupon_discounts ) {