Project

General

Profile

« Previous | Next » 

Revision d85cfdf3

Added by Katja Luther over 7 years ago

fix #5759 remove all switches for remoting and standalone

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/newWizard/NewPersonWizard.java
39 39
	/** {@inheritDoc} */
40 40
	@Override
41 41
	protected void saveEntity() {
42
	    if(CdmStore.getCurrentSessionManager().isRemoting()) {
43
	        CdmStore.getService(IAgentService.class).merge(getEntity(), true);
44
	    } else {
45
	        CdmStore.getService(IAgentService.class).save(getEntity());
46
	    }
42
	    CdmStore.getService(IAgentService.class).merge(getEntity(), true);
47 43
	}
48 44

  
49 45
	@Override

Also available in: Unified diff