[Rt-commit] rt branch, 4.2/warning-method-in-upgrade-step, created. rt-4.2.1-65-gd39a2f2

Alex Vandiver alexmv at bestpractical.com
Fri Dec 27 10:32:09 EST 2013


The branch, 4.2/warning-method-in-upgrade-step has been created
        at  d39a2f2dd25761cab89fcc09f42d8abc17da1cd5 (commit)

- Log -----------------------------------------------------------------
commit d39a2f2dd25761cab89fcc09f42d8abc17da1cd5
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Mon Dec 23 22:16:11 2013 -0500

    Fix typo in logger call in upgrade script

diff --git a/etc/upgrade/4.2.2/content b/etc/upgrade/4.2.2/content
index 20571ab..31e4d9f 100644
--- a/etc/upgrade/4.2.2/content
+++ b/etc/upgrade/4.2.2/content
@@ -9,7 +9,7 @@ our @Initial = (
         $cfs->Limit( FIELD => 'LookupType', VALUE => 'RT::FM::Class-RT::FM::Article' );
         while ( my $cf = $cfs->Next ) {
             my ($ret, $msg) = $cf->__Set( Field => 'LookupType', Value => 'RT::Class-RT::Article' );
-            RT->Logger->warnings("Update Custom Field LookupType for CF.".$cf->Id." $msg");
+            RT->Logger->warning("Update Custom Field LookupType for CF.".$cf->Id." $msg");
         }
         return 1;
     },

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


More information about the rt-commit mailing list