Author: surajk Date: Sat Jul 28 10:58:43 2018 New Revision: 1836887 URL: http://svn.apache.org/viewvc?rev=1836887&view=rev Log: Improved: Removed unused code after recent changes. (OFBIZ-9544)
Modified: ofbiz/ofbiz-framework/trunk/applications/order/src/main/java/org/apache/ofbiz/order/shoppingcart/ShoppingCartServices.java Modified: ofbiz/ofbiz-framework/trunk/applications/order/src/main/java/org/apache/ofbiz/order/shoppingcart/ShoppingCartServices.java URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/order/src/main/java/org/apache/ofbiz/order/shoppingcart/ShoppingCartServices.java?rev=1836887&r1=1836886&r2=1836887&view=diff ============================================================================== --- ofbiz/ofbiz-framework/trunk/applications/order/src/main/java/org/apache/ofbiz/order/shoppingcart/ShoppingCartServices.java (original) +++ ofbiz/ofbiz-framework/trunk/applications/order/src/main/java/org/apache/ofbiz/order/shoppingcart/ShoppingCartServices.java Sat Jul 28 10:58:43 2018 @@ -184,7 +184,6 @@ public class ShoppingCartServices { try { orderHeader = EntityQuery.use(delegator).from("OrderHeader").where("orderId", orderId).queryOne(); orderTerms = orderHeader.getRelated("OrderTerm", null, null, false); - orderContactMechs = orderHeader.getRelated("OrderContactMech", null, null, false); orderContactMechs = EntityQuery.use(delegator).select("orderId", "contactMechId", "contactMechPurposeTypeId").from("OrderAndPartyContactMech").where("orderId", orderId).filterByDate("contactFromDate", "contactThruDate").distinct().queryList(); } catch (GenericEntityException e) { Debug.logError(e, module);