[Rt-commit] rt branch, 3.8.9-releng, updated. rt-3.8.9rc2-2-g2318579

Kevin Falcone falcone at bestpractical.com
Mon Feb 14 17:03:51 EST 2011


The branch, 3.8.9-releng has been updated
       via  2318579ccc3bcbe7b0a318688aa98a705a26604c (commit)
      from  377c5b140dacb746deea2f933e28f65281601f7b (commit)

Summary of changes:
 lib/RT/Links_Overlay.pm |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)

- Log -----------------------------------------------------------------
commit 2318579ccc3bcbe7b0a318688aa98a705a26604c
Author: Kevin Falcone <falcone at bestpractical.com>
Date:   Mon Feb 14 16:34:14 2011 -0500

    Remove dummy code with wrong parentheses
    
    This code would warn any time there was a Limit even if the OPERATOR
    wasn't = because the parens were unbalanced.  This caused warns in RTFM
    and in the upgrade script from 3.8.8 to 3.8.9

diff --git a/lib/RT/Links_Overlay.pm b/lib/RT/Links_Overlay.pm
index c569609..0075974 100755
--- a/lib/RT/Links_Overlay.pm
+++ b/lib/RT/Links_Overlay.pm
@@ -78,16 +78,6 @@ sub Limit  {
 		 OPERATOR => '=',
 		 @_);
     
-    #if someone's trying to search for tickets, try to resolve the uris for searching.
-    
-    if (  ( $args{'OPERATOR'} eq '=') and
-	  ( $args{'FIELD'}  eq 'Base') or ($args{'FIELD'} eq 'Target')
-       ) {
-	  my $dummy = RT::URI->new($self->CurrentUser);
-	   $dummy->FromURI($args{'VALUE'});
-	   # $uri = $dummy->URI;
-    }
-
 
     # If we're limiting by target, order by base
     # (Order by the thing that's changing)

-----------------------------------------------------------------------


More information about the Rt-commit mailing list