diff options
author | mark <mark> | 2010-11-17 21:26:40 +0000 |
---|---|---|
committer | mark <mark> | 2010-11-17 21:26:40 +0000 |
commit | 9916976831c67272ea1870d5d65a3b00ddd1b8de (patch) | |
tree | a878610c825b689f419321ccf69990d0a8103aa5 /rt/lib/RT/Action.pm | |
parent | 4ea80084f316a0ac5235967d09479b634428c891 (diff) |
create ticket on custom field change, RT#10139
Diffstat (limited to 'rt/lib/RT/Action.pm')
-rwxr-xr-x | rt/lib/RT/Action.pm | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/rt/lib/RT/Action.pm b/rt/lib/RT/Action.pm index 1918a7e37..42bf767e7 100755 --- a/rt/lib/RT/Action.pm +++ b/rt/lib/RT/Action.pm @@ -204,6 +204,17 @@ sub IsApplicable { } # }}} +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 sub DESTROY { my $self = shift; |