Revision d85cfdf3
Added by Katja Luther over 7 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/io/wizard/ExcelNormalExplicitTaxaImportWizard.java | ||
---|---|---|
57 | 57 |
configurator.setSource(source); |
58 | 58 |
configurator.setDbSchemaValidation(DbSchemaValidation.CREATE); |
59 | 59 |
|
60 |
if(CdmStore.getCurrentSessionManager().isRemoting()) { |
|
61 |
Job job = CdmStore.getImportManager().createIOServiceJob(configurator, new File(source), SOURCE_TYPE.URI); |
|
62 |
CdmStore.getImportManager().run(job); |
|
63 |
} else { |
|
64 |
CdmStore.getImportManager().run(configurator); |
|
65 |
} |
|
66 |
|
|
67 |
|
|
60 |
Job job = CdmStore.getImportManager().createIOServiceJob(configurator, new File(source), SOURCE_TYPE.URI); |
|
61 |
CdmStore.getImportManager().run(job); |
|
62 |
|
|
68 | 63 |
return true; |
69 | 64 |
} |
70 | 65 |
|
Also available in: Unified diff
fix #5759 remove all switches for remoting and standalone