[Rt-commit] [rtir] 02/03: Add RT::IR->IsRTIRQueue helper method
Shawn Moore
shawn at bestpractical.com
Thu May 12 11:42:56 EDT 2016
This is an automated email from the git hooks/post-receive script.
shawn pushed a commit to branch 3.4/ticket-timer
in repository rtir.
commit 4d06f47f8174eb701927892e3149414ded669056
Author: Shawn M Moore <shawn at bestpractical.com>
Date: Thu May 12 15:42:04 2016 +0000
Add RT::IR->IsRTIRQueue helper method
---
lib/RT/IR.pm | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/lib/RT/IR.pm b/lib/RT/IR.pm
index c03f5cf..6dd2680 100644
--- a/lib/RT/IR.pm
+++ b/lib/RT/IR.pm
@@ -923,6 +923,15 @@ sub IsCountermeasureQueue {
return $queue->Lifecycle eq $self->lifecycle_countermeasure;
}
+sub IsRTIRQueue {
+ my $self = shift;
+ my $queue = shift;
+
+ return $self->IsReportQueue($queue)
+ || $self->IsIncidentQueue($queue)
+ || $self->IsInvestigationQueue($queue)
+ || $self->IsCountermeasureQueue($queue);
+}
sub StrictConstituencyLinking {
my $self = shift;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the rt-commit
mailing list