mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 03:42:16 +08:00
65edbb609c
This reverts commit 47e718f5b2
.
7 lines
142 B
Ruby
7 lines
142 B
Ruby
if Rails.version < "4.2.0"
|
|
class Mail::Message
|
|
alias_method :deliver_now, :deliver
|
|
alias_method :deliver_now!, :deliver!
|
|
end
|
|
end
|