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/Condition.pm | |
parent | 4ea80084f316a0ac5235967d09479b634428c891 (diff) |
create ticket on custom field change, RT#10139
Diffstat (limited to 'rt/lib/RT/Condition.pm')
-rwxr-xr-x | rt/lib/RT/Condition.pm | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/rt/lib/RT/Condition.pm b/rt/lib/RT/Condition.pm index be7c4c56d..dfd58e757 100755 --- a/rt/lib/RT/Condition.pm +++ b/rt/lib/RT/Condition.pm @@ -210,6 +210,19 @@ sub IsApplicable { } # }}} +sub Options { + my $self = shift; + return(); +} + +sub Rules { + my $self = shift; + return () if !$self->ScripObj or !$self->ScripObj->ConditionRules; + # By default, option names and values are on consecutive lines. + # Override this if you need anything more interesting. + return(split "\n", $self->ScripObj->ConditionRules); +} + # {{{ sub DESTROY sub DESTROY { my $self = shift; |