X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=rt%2Flib%2FRT%2FAction.pm;h=a2f175f19dd8455d09037dfa539987e6b2d5e1cf;hp=23ff82dece374c04f2ec669f5cef842338fc962b;hb=44dd00a3ff974a17999e86e64488e996edc71e3c;hpb=a6fe07e49e3fc12169e801b1ed6874c3a5bd8500 diff --git a/rt/lib/RT/Action.pm b/rt/lib/RT/Action.pm index 23ff82dec..a2f175f19 100755 --- a/rt/lib/RT/Action.pm +++ b/rt/lib/RT/Action.pm @@ -2,7 +2,7 @@ # # COPYRIGHT: # -# This software is Copyright (c) 1996-2012 Best Practical Solutions, LLC +# This software is Copyright (c) 1996-2019 Best Practical Solutions, LLC # # # (Except where explicitly superseded by other copyright notices) @@ -172,37 +172,6 @@ sub Prepare { } -#If this rule applies to this transaction, return true. - -sub IsApplicable { - my $self = shift; - return(undef); -} - -sub Options { - my $self = shift; - return(); -} - -sub Rules { - my $self = shift; - return () if !$self->ScripObj or !$self->ScripObj->ActionRules; - return(split "\n", $self->ScripObj->ActionRules); -} - -sub DESTROY { - my $self = shift; - - # We need to clean up all the references that might maybe get - # oddly circular - $self->{'ScripActionObj'} = undef; - $self->{'ScripObj'} = undef; - $self->{'TemplateObj'} =undef - $self->{'TicketObj'} = undef; - $self->{'TransactionObj'} = undef; -} - - RT::Base->_ImportOverlays(); 1;