mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 03:36:18 +08:00
that shouldn't have been there...
This commit is contained in:
@ -269,13 +269,6 @@ module Email
|
|||||||
def parse_from_field(mail)
|
def parse_from_field(mail)
|
||||||
return unless mail[:from]
|
return unless mail[:from]
|
||||||
|
|
||||||
if mail.subject == "Test"
|
|
||||||
foo = []
|
|
||||||
if foo[/<[^>]+>/]
|
|
||||||
bar = 2
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
if mail[:from].errors.blank?
|
if mail[:from].errors.blank?
|
||||||
mail[:from].address_list.addresses.each do |address_field|
|
mail[:from].address_list.addresses.each do |address_field|
|
||||||
address_field.decoded
|
address_field.decoded
|
||||||
|
Reference in New Issue
Block a user