diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-04-26 14:55:59 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-04-26 14:55:59 +0000 |
commit | cf7704f3141ceca69f02fea5f8e17970ceae1e75 (patch) | |
tree | 1db4743db97893bf3ae27ad7efdad19985103b6d | |
parent | efe67602c61647892ecac8faf395ca543e44967e (diff) | |
download | redmine-cf7704f3141ceca69f02fea5f8e17970ceae1e75.tar.gz redmine-cf7704f3141ceca69f02fea5f8e17970ceae1e75.zip |
Use accessor method.
git-svn-id: http://svn.redmine.org/redmine/trunk@14229 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | app/models/mail_handler.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/mail_handler.rb b/app/models/mail_handler.rb index a0a52fe2b..408932d57 100644 --- a/app/models/mail_handler.rb +++ b/app/models/mail_handler.rb @@ -77,7 +77,7 @@ class MailHandler < ActionMailer::Base end cattr_accessor :ignored_emails_headers - @@ignored_emails_headers = { + self.ignored_emails_headers = { 'Auto-Submitted' => /\Aauto-(replied|generated)/, 'X-Autoreply' => 'yes' } |