diff options
author | mark <mark> | 2010-11-17 20:44:11 +0000 |
---|---|---|
committer | mark <mark> | 2010-11-17 20:44:11 +0000 |
commit | 5ef064aeca4a22dbe38b538e65d512d5d398fe2f (patch) | |
tree | 81959e7fd86bc537b61cf530983df26b01ca4fba /rt/lib/RT/Condition.pm | |
parent | 2a874cdff2e2bc0d5d6920aae306d5b7c3d4aa97 (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; |