fix #5759 remove all switches for remoting and standalone
[taxeditor.git] / eu.etaxonomy.taxeditor.store / src / main / java / eu / etaxonomy / taxeditor / newWizard / NewClassificationWizard.java
index 4586b9275e2329e4580b97a9361e51ec122c32d3..b9d99c6d6fd517d66a0d106cd38d4e1bd800691d 100644 (file)
@@ -50,13 +50,10 @@ public class NewClassificationWizard extends AbstractNewEntityWizard<Classificat
        protected void saveEntity() {
                //CdmStore.getService(IClassificationService.class).saveOrUpdate(getEntity());
            Classification classification = getEntity();
-           if(CdmStore.getCurrentSessionManager().isRemoting()) {
-               CdmStore.getService(IClassificationService.class).merge(getEntity(), true);
-               CdmApplicationState.getCurrentDataChangeService()
+          CdmStore.getService(IClassificationService.class).merge(getEntity(), true);
+          CdmApplicationState.getCurrentDataChangeService()
                .fireChangeEvent(new CdmChangeEvent(Action.Create, classification, NewTaxonNodeWizard.class), true);
-           } else {
-               CdmStore.getService(IClassificationService.class).save(getEntity());
-           }
+          
 
        }