fix #5759 remove all switches for remoting and standalone
[taxeditor.git] / eu.etaxonomy.taxeditor.store / src / main / java / eu / etaxonomy / taxeditor / io / wizard / JaxbExportWizard.java
index 00a9c1bc6f2623c14c784c577c827770318e25c5..146fff3ef3a11216484655c3b09171505f8e611b 100644 (file)
@@ -55,17 +55,15 @@ public class JaxbExportWizard extends AbstractExportWizard<JaxbExportConfigurato
                File exportFile = new File(page.getFolderText() + File.separator + page.getExportFileName());
                URI urlString = exportFile.toURI();
                configurator.setDestination(urlString);
-               if(CdmStore.getCurrentSessionManager().isRemoting()) {
-                   // create job
-                   Job job = CdmStore.getExportManager().createIOServiceJob(configurator, exportFile);
-                   // configure the job
-                   job.setProperty(IProgressConstants.KEEP_PROPERTY, true);
-                   job.setUser(true);
-                   // schedule job
-                   job.schedule();
-               } else {
-               CdmStore.getExportManager().run(configurator);
-               }
+               
+           // create job
+           Job job = CdmStore.getExportManager().createIOServiceJob(configurator, exportFile);
+           // configure the job
+           job.setProperty(IProgressConstants.KEEP_PROPERTY, true);
+           job.setUser(true);
+           // schedule job
+           job.schedule();
+               
                performFinish = true;
                return performFinish;
        }