[Rt-commit] r18246 - rt/3.999/branches/lorzy/lib/RT

clkao at bestpractical.com clkao at bestpractical.com
Thu Feb 5 04:23:27 EST 2009


Author: clkao
Date: Thu Feb  5 04:23:26 2009
New Revision: 18246

Modified:
   rt/3.999/branches/lorzy/lib/RT/Condition.pm

Log:
rt::condition does not need to know about scrip obj anymore.

Modified: rt/3.999/branches/lorzy/lib/RT/Condition.pm
==============================================================================
--- rt/3.999/branches/lorzy/lib/RT/Condition.pm	(original)
+++ rt/3.999/branches/lorzy/lib/RT/Condition.pm	Thu Feb  5 04:23:26 2009
@@ -97,7 +97,6 @@
     my %args = (
         transaction_obj       => undef,
         ticket_obj            => undef,
-        scrip_obj             => undef,
         template_obj          => undef,
         argument             => undef,
         applicable_trans_types => undef,
@@ -106,7 +105,6 @@
     );
 
     $self->{'argument'}             = $args{'argument'};
-    $self->{'scrip_obj'}             = $args{'scrip_obj'};
     $self->{'ticket_obj'}            = $args{'ticket_obj'};
     $self->{'transaction_obj'}       = $args{'transaction_obj'};
     $self->{'applicable_trans_types'} = $args{'applicable_trans_types'};
@@ -143,18 +141,6 @@
 
 
 
-=head2 scrip_obj
-
-Return the Scrip object we're talking about
-
-=cut
-
-sub scrip_obj {
-    my $self = shift;
-    return ( $self->{'scrip_obj'} );
-}
-
-
 =head2 transaction_obj
 
 Return the transaction object we're talking about


More information about the Rt-commit mailing list