diff options
| author | Zog | 2018-04-30 14:22:53 +0200 | 
|---|---|---|
| committer | Zog | 2018-05-07 15:03:07 +0200 | 
| commit | af49fd1021ee6b22fd8ca6c6592c5f7d64c23aa0 (patch) | |
| tree | 60d770778dbccb6b7deb31247c9d2462a53f19da /app/models/import | |
| parent | f0bbc8d002f845efe0bfecf37477e96c84a6b41c (diff) | |
| download | chouette-core-af49fd1021ee6b22fd8ca6c6592c5f7d64c23aa0.tar.bz2 | |
Better views
Diffstat (limited to 'app/models/import')
| -rw-r--r-- | app/models/import/resource.rb | 6 | 
1 files changed, 2 insertions, 4 deletions
| diff --git a/app/models/import/resource.rb b/app/models/import/resource.rb index 27dc367a8..2c7889240 100644 --- a/app/models/import/resource.rb +++ b/app/models/import/resource.rb @@ -18,16 +18,14 @@ class Import::Resource < ApplicationModel    def next_step      if root_import.class == Import::Workbench -      # XXX -      # return unless netex_import&.successful? +      return unless netex_import&.successful?        if workbench.import_compliance_control_set_id.present? && workbench_import_control_set.nil?          ComplianceControlSetCopyWorker.perform_async workbench.import_compliance_control_set_id, referential_id          return        end -      # XXX -      # return if workbench_import_control_set && !workbench_import_control_set.successful? +      return if workbench_import_control_set && !workbench_import_control_set.successful?        if workgroup.import_compliance_control_set_id.present? && workgroup_import_control_set.nil?          ComplianceControlSetCopyWorker.perform_async workgroup.import_compliance_control_set_id, referential_id | 
