[Rt-commit] r16513 - in rt/branches/3.999-DANGEROUS: lib/RT/Model

sunnavy at bestpractical.com sunnavy at bestpractical.com
Thu Oct 23 09:43:20 EDT 2008


Author: sunnavy
Date: Thu Oct 23 09:43:20 2008
New Revision: 16513

Modified:
   rt/branches/3.999-DANGEROUS/   (props changed)
   rt/branches/3.999-DANGEROUS/lib/RT/Model/Ticket.pm

Log:
 r17364 at sunnavys-mb:  sunnavy | 2008-10-23 21:42:48 +0800
 name fix


Modified: rt/branches/3.999-DANGEROUS/lib/RT/Model/Ticket.pm
==============================================================================
--- rt/branches/3.999-DANGEROUS/lib/RT/Model/Ticket.pm	(original)
+++ rt/branches/3.999-DANGEROUS/lib/RT/Model/Ticket.pm	Thu Oct 23 09:43:20 2008
@@ -1991,7 +1991,7 @@
 
     unless ( $args{ 'silent_' . $direction } ) {
         my ( $Trans, $Msg, $TransObj ) = $self->_new_transaction(
-            type       => 'AddLink',
+            type       => 'add_link',
             field      => $LINKDIRMAP{ $args{'type'} }->{$direction},
             new_value  => $remote_uri->uri || $remote_link,
             time_taken => 0
@@ -2004,7 +2004,7 @@
     {
         my $OtherObj = $remote_uri->object;
         my ( $val, $msg ) = $OtherObj->_new_transaction(
-            type  => 'AddLink',
+            type  => 'add_link',
             field => $direction eq 'target'
             ? $LINKDIRMAP{ $args{'type'} }->{base}
             : $LINKDIRMAP{ $args{'type'} }->{target},


More information about the Rt-commit mailing list