mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-20 15:31:12 +00:00
add empty line after guard clause to app/models/email_address.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20500 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
3f11223486
commit
4a19d043c1
@ -62,6 +62,7 @@ class EmailAddress < ActiveRecord::Base
|
||||
domain = domain_or_email.split('@').last
|
||||
return false if denied.present? && domain_in?(domain, denied)
|
||||
return false if allowed.present? && !domain_in?(domain, allowed)
|
||||
|
||||
true
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user