From cf7704f3141ceca69f02fea5f8e17970ceae1e75 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 26 Apr 2015 14:55:59 +0000 Subject: Use accessor method. git-svn-id: http://svn.redmine.org/redmine/trunk@14229 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/models/mail_handler.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' } -- cgit v1.2.3