summaryrefslogtreecommitdiffstats
path: root/app/models
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2018-10-10 19:04:25 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2018-10-10 19:04:25 +0000
commite589937aa77131591dc68cb853190fa709fa557d (patch)
tree49b8728ca6f79477c96a15680faa2394d3c91353 /app/models
parent21e11bd9cd451dfca465487c4447fa6a9f0eb155 (diff)
downloadredmine-e589937aa77131591dc68cb853190fa709fa557d.tar.gz
redmine-e589937aa77131591dc68cb853190fa709fa557d.zip
Removes method_missing override (#26791).
git-svn-id: http://svn.redmine.org/redmine/trunk@17591 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models')
-rw-r--r--app/models/mailer.rb9
1 files changed, 0 insertions, 9 deletions
diff --git a/app/models/mailer.rb b/app/models/mailer.rb
index fa566a7a0..468e6c21a 100644
--- a/app/models/mailer.rb
+++ b/app/models/mailer.rb
@@ -681,15 +681,6 @@ class Mailer < ActionMailer::Base
end
end
- def self.method_missing(method, *args, &block)
- if m = method.to_s.match(%r{^deliver_(.+)$})
- ActiveSupport::Deprecation.warn "Mailer.deliver_#{m[1]}(*args) is deprecated. Use Mailer.#{m[1]}(*args).deliver instead."
- send(m[1], *args).deliver
- else
- super
- end
- end
-
# Returns an array of email addresses to notify by
# replacing users in arg with their notified email addresses
#