[Rt-commit] [svn] r1942 - in rt/branches/3.3-TESTING: .
html/Elements/RT__Ticket
jesse at pallas.eruditorum.org
jesse at pallas.eruditorum.org
Sat Nov 27 02:34:09 EST 2004
Author: jesse
Date: Sat Nov 27 02:34:09 2004
New Revision: 1942
Modified:
rt/branches/3.3-TESTING/ (props changed)
rt/branches/3.3-TESTING/html/Elements/RT__Ticket/ColumnMap
Log:
r9422 at tinbook: jesse | 2004-11-27T07:33:36.170661Z
r9420 at tinbook: jesse | 2004-11-27T07:31:22.860069Z
Refactored ColumnMap to remove use of a deprecated API
Modified: rt/branches/3.3-TESTING/html/Elements/RT__Ticket/ColumnMap
==============================================================================
--- rt/branches/3.3-TESTING/html/Elements/RT__Ticket/ColumnMap (original)
+++ rt/branches/3.3-TESTING/html/Elements/RT__Ticket/ColumnMap Sat Nov 27 02:34:09 2004
@@ -96,7 +96,6 @@
my $mode = $RT::Ticket::LINKTYPEMAP{$method}{Mode};
my $type = $RT::Ticket::LINKTYPEMAP{$method}{Type};
my $mode_uri = $mode.'URI';
- my $mode_is_local = $mode.'IsLocal';
my $local_type = 'Local'.$mode;
return sub {
@@ -104,7 +103,7 @@
\'<A HREF="',
$_->$mode_uri->Resolver->HREF,
\'">',
- ( $_->$mode_is_local ? $_->$local_type : $_->$mode ),
+ ( $_->$mode_uri->IsLocal ? $_->$local_type : $_->$mode ),
\'</A><BR>',
} @{ $_[0]->Links($mode,$type)->ItemsArrayRef }
}
More information about the Rt-commit
mailing list