Small refactoring: no need to have 2 blocks here

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1304570 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jacques Le Roux
2012-03-23 19:39:34 +00:00
parent 640b16783e
commit f66035de48
@@ -36,11 +36,8 @@ if (shoppingCart) {
shippingEstWpr = new ShippingEstimateWrapper(dispatcher, shoppingCart, 0);
context.shippingEstWpr = shippingEstWpr;
context.carrierShipmentMethodList = shippingEstWpr.getShippingMethods();
}
// Reassign items requiring drop-shipping to new or existing drop-ship groups
if (shoppingCart) {
shoppingCart.createDropShipGroups(dispatcher);
// Reassign items requiring drop-shipping to new or existing drop-ship groups
shoppingCart.createDropShipGroups(dispatcher);
}
profiledefs = delegator.findByPrimaryKey("PartyProfileDefault", [partyId : userLogin.partyId, productStoreId : productStoreId]);