[Rt-commit] r6045 - rt/branches/3.6-RELEASE/lib/RT

ruz at bestpractical.com ruz at bestpractical.com
Tue Sep 26 18:59:02 EDT 2006


Author: ruz
Date: Tue Sep 26 18:59:02 2006
New Revision: 6045

Modified:
   rt/branches/3.6-RELEASE/lib/RT/Record.pm

Log:
* drop unused code

Modified: rt/branches/3.6-RELEASE/lib/RT/Record.pm
==============================================================================
--- rt/branches/3.6-RELEASE/lib/RT/Record.pm	(original)
+++ rt/branches/3.6-RELEASE/lib/RT/Record.pm	Tue Sep 26 18:59:02 2006
@@ -1256,7 +1256,7 @@
 
 =head2 _AddLink
 
-Takes a paramhash of Type and one of Base or Target. Adds that link to this ticket.
+Takes a paramhash of Type and one of Base or Target. Adds that link to this object.
 
 Returns C<link id>, C<message> and C<exist> flag.
 
@@ -1283,13 +1283,11 @@
     }
     elsif ( $args{'Base'} ) {
         $args{'Target'} = $self->URI();
-	my $class = ref($self);
         $remote_link    = $args{'Base'};
         $direction      = 'Target';
     }
     elsif ( $args{'Target'} ) {
         $args{'Base'} = $self->URI();
-	my $class = ref($self);
         $remote_link  = $args{'Target'};
         $direction    = 'Base';
     }


More information about the Rt-commit mailing list