git-svn-id: http://svn.redmine.org/redmine/trunk@18735 e93f8b46-1217-0410-a6f0-8f06a7374b81tags/4.1.0
@@ -104,7 +104,6 @@ Layout/EmptyLineAfterGuardClause: | |||
# Cop supports --auto-correct. | |||
Layout/EmptyLines: | |||
Exclude: | |||
- 'app/models/issue.rb' | |||
- 'app/models/time_entry_import.rb' | |||
- 'config/routes.rb' | |||
- 'db/migrate/001_setup.rb' |
@@ -578,8 +578,6 @@ class Issue < ActiveRecord::Base | |||
if (u = attrs.delete('assigned_to_id')) && safe_attribute?('assigned_to_id') | |||
self.assigned_to_id = u | |||
end | |||
attrs = delete_unsafe_attributes(attrs, user) | |||
return if attrs.empty? | |||