]> source.dussan.org Git - redmine.git/commitdiff
Replace RAILS_DEFAULT_LOGGER with ::Rails.logger (#11013).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Fri, 25 May 2012 16:54:23 +0000 (16:54 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Fri, 25 May 2012 16:54:23 +0000 (16:54 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9712 e93f8b46-1217-0410-a6f0-8f06a7374b81

lib/redmine/imap.rb
lib/redmine/pop3.rb

index dd1904d3ab7f275c2b2567c6466dc9d47280bdb9..eb37a16a415ac6d45ae9054b9cc0fd8976c255e3 100644 (file)
@@ -53,7 +53,7 @@ module Redmine
       private
 
       def logger
-        RAILS_DEFAULT_LOGGER
+        ::Rails.logger
       end
     end
   end
index f6b94238383c56d98ce663c9970309765b456544..c900ca2aef7b0bea3e35028c006b2d63716de6a1 100644 (file)
@@ -55,7 +55,7 @@ module Redmine
       private
 
       def logger
-        RAILS_DEFAULT_LOGGER
+        ::Rails.logger
       end
     end
   end