[API] Removed test in WC_API_Orders::set_line_item()

This commit is contained in:
Claudio Sanches 2015-04-24 15:53:39 -03:00
parent ed919ae2f5
commit d5524a62bf
1 changed files with 0 additions and 2 deletions

View File

@ -949,8 +949,6 @@ class WC_API_Orders extends WC_API_Resource {
$item_args['totals']['subtotal_tax'] = floatval( $item['subtotal_tax'] );
}
error_log( print_r( $item_args, true ) );
if ( $creating ) {
$item_id = $order->add_product( $product, $item_args['qty'], $item_args );