diff --git a/lib/dor/datastreams/workflow_definition_ds.rb b/lib/dor/datastreams/workflow_definition_ds.rb index 5fc8d88d..70938158 100644 --- a/lib/dor/datastreams/workflow_definition_ds.rb +++ b/lib/dor/datastreams/workflow_definition_ds.rb @@ -55,21 +55,13 @@ def repo end def configuration - result = ActiveSupport::OrderedHash.new + result = {} result['repository'] = repo result['name'] = name processes.each { |process| result[process.name] = process.to_hash } result end - def configuration=(hash) - self.ng_xml = Nokogiri::XML(%()) - i = 0 - hash.each_pair do |k, v| - add_process(v.merge({:name => k, :sequence => i += 1})) if v.is_a?(Hash) - end - end - # Creates the xml used by Dor::WorkflowService#create_workflow # @return [String] An object's initial workflow as defined by the in content def initial_workflow