2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-06 10:50:21 +08:00

that shouldn't have been there...

This commit is contained in:
Gerhard Schlager 2017-09-15 17:33:31 +02:00
parent d51eee4dbc
commit 6e04f05173

View file

@ -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