removing unnecessary code spouting (thankfully harmless) warnings
authorIvan Kohler <ivan@freeside.biz>
Thu, 7 Jun 2012 21:24:41 +0000 (14:24 -0700)
committerIvan Kohler <ivan@freeside.biz>
Thu, 7 Jun 2012 21:24:41 +0000 (14:24 -0700)
rt/lib/RT/Ticket.pm

index 176222c..27bdc48 100755 (executable)
@@ -2442,16 +2442,6 @@ sub _Links {
         return $links;
     }
 
-    # without this you will also get RT::User(s) instead of tickets!
-    if ($field == 'Base' and $type == 'MemberOf') {
-        my $rtname = RT->Config->Get('rtname');
-        $links->Limit(
-                       FIELD    => 'Base',
-                       OPERATOR => 'STARTSWITH',
-                       VALUE    => "fsck.com-rt://$rtname/ticket/",
-                     );
-    }
-
     # Maybe this ticket is a merge ticket
     my $limit_on = 'Local'. $field;
     # at least to myself