[Rt-commit] rt branch, 3.8-trunk, updated. rt-3.8.11-16-g1a7fa43

Kevin Falcone falcone at bestpractical.com
Mon Jan 30 11:25:16 EST 2012


The branch, 3.8-trunk has been updated
       via  1a7fa43df96202be810ff0d1fa05fca6ac53f648 (commit)
      from  fa582274cdd3619063e383fbb712783605b7ed59 (commit)

Summary of changes:
 lib/RT/Ticket_Overlay.pm |    2 +-
 lib/RT/User_Overlay.pm   |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

- Log -----------------------------------------------------------------
commit 1a7fa43df96202be810ff0d1fa05fca6ac53f648
Author: Dominic Hargreaves <dom at earth.li>
Date:   Sat Jan 28 15:52:51 2012 +0000

    Correct 'warn' log method to warning
    
    Support for the warn alias was only added in Log::Dispatch 2.23, but
    RT 3.8 only declares a dependency on Log::Dispatch 2.0.

diff --git a/lib/RT/Ticket_Overlay.pm b/lib/RT/Ticket_Overlay.pm
index 9f1e26c..c3ef5ff 100755
--- a/lib/RT/Ticket_Overlay.pm
+++ b/lib/RT/Ticket_Overlay.pm
@@ -1235,7 +1235,7 @@ sub DeleteWatcher {
             }
         }
         else {
-            $RT::Logger->warn("$self -> DeleteWatcher got passed a bogus type");
+            $RT::Logger->warning("$self -> DeleteWatcher got passed a bogus type");
             return ( 0,
                      $self->loc('Error in parameters to Ticket->DeleteWatcher') );
         }
diff --git a/lib/RT/User_Overlay.pm b/lib/RT/User_Overlay.pm
index b86a924..84bee0e 100755
--- a/lib/RT/User_Overlay.pm
+++ b/lib/RT/User_Overlay.pm
@@ -1090,7 +1090,7 @@ sub IsPassword {
         # crypt() output
         return 0 unless crypt(encode_utf8($value), $stored) eq $stored;
     } else {
-        $RT::Logger->warn("Unknown password form");
+        $RT::Logger->warning("Unknown password form");
         return 0;
     }
 

-----------------------------------------------------------------------


More information about the Rt-commit mailing list