]> git.mxchange.org Git - pizzaservice-war.git/commitdiff
already done by event (lesser hard-coded)
authorRoland Häder <roland@mxchange.org>
Wed, 27 Apr 2016 10:17:12 +0000 (12:17 +0200)
committerRoland Haeder <roland@mxchange.org>
Wed, 27 Apr 2016 20:20:29 +0000 (22:20 +0200)
src/java/org/mxchange/pizzaapplication/beans/customer/PizzaAdminCustomerWebRequestBean.java

index e423bffb91f168385212df9296a57a8a814574cb..c5f937f5a63cd4f5716bc14d16cd344868196ef0 100644 (file)
@@ -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));