mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-31 12:49:38 +00:00
cleanup: rubocop: fix Layout/SpaceAfterComma in app/models/enumeration.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19270 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
05ab4e13de
commit
430236a2af
@ -105,7 +105,8 @@ class Enumeration < ActiveRecord::Base
|
||||
|
||||
# Does the +new+ Hash override the previous Enumeration?
|
||||
def self.overriding_change?(new, previous)
|
||||
if (same_active_state?(new['active'], previous.active)) && same_custom_values?(new,previous)
|
||||
if (same_active_state?(new['active'], previous.active)) &&
|
||||
same_custom_values?(new, previous)
|
||||
return false
|
||||
else
|
||||
return true
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user