[Rt-commit] [svn] r1944 - in rt/branches/3.2-RELEASE: .
html/Elements/RT__Ticket
jesse at pallas.eruditorum.org
jesse at pallas.eruditorum.org
Sat Nov 27 02:35:05 EST 2004
Author: jesse
Date: Sat Nov 27 02:35:05 2004
New Revision: 1944
Modified:
rt/branches/3.2-RELEASE/ (props changed)
rt/branches/3.2-RELEASE/html/Elements/RT__Ticket/ColumnMap
Log:
r9420 at tinbook: jesse | 2004-11-27T07:31:22.860069Z
Refactored ColumnMap to remove use of a deprecated API
Modified: rt/branches/3.2-RELEASE/html/Elements/RT__Ticket/ColumnMap
==============================================================================
--- rt/branches/3.2-RELEASE/html/Elements/RT__Ticket/ColumnMap (original)
+++ rt/branches/3.2-RELEASE/html/Elements/RT__Ticket/ColumnMap Sat Nov 27 02:35:05 2004
@@ -110,7 +110,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 {
@@ -118,7 +117,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