From: Roland Häder Date: Wed, 27 Apr 2016 10:17:12 +0000 (+0200) Subject: already done by event (lesser hard-coded) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3f5bddb54dcb7f72f6147d25bcc6a137ea648180;p=pizzaservice-war.git already done by event (lesser hard-coded) --- diff --git a/src/java/org/mxchange/pizzaapplication/beans/customer/PizzaAdminCustomerWebRequestBean.java b/src/java/org/mxchange/pizzaapplication/beans/customer/PizzaAdminCustomerWebRequestBean.java index e423bffb..c5f937f5 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/customer/PizzaAdminCustomerWebRequestBean.java +++ b/src/java/org/mxchange/pizzaapplication/beans/customer/PizzaAdminCustomerWebRequestBean.java @@ -142,9 +142,6 @@ public class PizzaAdminCustomerWebRequestBean implements PizzaAdminCustomerWebRe throw new FaceletException(ex); } - // Add customer to list - this.customerController.addCustomer(updatedCustomer); - // Fire event this.customerAddedEvent.fire(new CustomerAdminAddedEvent(updatedCustomer));