mirror of
https://github.com/meineerde/redmine.git
synced 2025-10-17 17:01:01 +00:00
code cleanup: rubocop: fix Layout/EmptyLines in app/models/issue.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18735 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
27e30a9701
commit
c1e7c43cd4
@ -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?
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user