]> source.dussan.org Git - redmine.git/commitdiff
Use accessor method.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 26 Apr 2015 14:55:59 +0000 (14:55 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 26 Apr 2015 14:55:59 +0000 (14:55 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@14229 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/models/mail_handler.rb

index a0a52fe2bd9b162817b7d264cdf4b821d33c568b..408932d5749b9e900eb88d773d9560b81cf3db61 100644 (file)
@@ -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'
   }