Skip to content

Commit

Permalink
Merge pull request #634 from projecthydra-labs/removing-unused-variables
Browse files Browse the repository at this point in the history
Removing unused local variable
  • Loading branch information
jeremyf committed Mar 23, 2017
2 parents e8c3d2f + 7d90e91 commit 9c48db8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/forms/hyrax/forms/batch_edit_form.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ def self.build_permitted_params
# override this method if you need to initialize more complex RDF assertions (b-nodes)
def initialize_combined_fields
combined_attributes = {}
permissions = []
# For each of the files in the batch, set the attributes to be the concatenation of all the attributes
batch_document_ids.each do |doc_id|
work = model_class.find(doc_id)
Expand All @@ -47,7 +46,6 @@ def initialize_combined_fields
combined_attributes[key] = (combined_attributes[key] + work[key].to_a).uniq
end
names << work.to_s
permissions = (permissions + work.permissions).uniq
end

terms.each do |key|
Expand Down

0 comments on commit 9c48db8

Please sign in to comment.