#3178: refactoring task

pull/6827/head
Jens Ulferts 14 years ago
parent 38d25f8355
commit ca51ba6a08
  1. 3
      app/models/task.rb

@ -52,8 +52,7 @@ class Task < Issue
end
def update_with_relationships(params, is_impediment = false)
attribs = params.clone.delete_if { |k, v| !safe_attribute_names.include?(k) }
attribs = params.reject { |k, v| !safe_attribute_names.include?(k.to_s) }
result = journalized_update_attributes!(attribs)

Loading…
Cancel
Save