[Rt-commit] [rtir] 10/19: Add a helper method for checking StrictConstituencyLinking

Jesse Vincent jesse at bestpractical.com
Wed Mar 25 00:20:54 EDT 2015


This is an automated email from the git hooks/post-receive script.

jesse pushed a commit to branch 3.4/remove_old_constituencies
in repository rtir.

commit c638c8e4b143e5fed7a26ce33d3a5b542333f4f6
Author: Jesse Vincent <jesse at bestpractical.com>
Date:   Tue Mar 24 16:40:17 2015 -0700

    Add a helper method for checking StrictConstituencyLinking
---
 lib/RT/IR.pm | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/lib/RT/IR.pm b/lib/RT/IR.pm
index c1727a3..cb715af 100644
--- a/lib/RT/IR.pm
+++ b/lib/RT/IR.pm
@@ -848,6 +848,13 @@ sub IsCountermeasureQueue {
     return $queue->Lifecycle eq $self->lifecycle_countermeasure;
 }
 
+
+sub StrictConstituencyLinking {
+    my $self = shift;
+    return RT->Config->Get('RTIR_StrictConstituencyLinking');
+}
+
+
 require RT::Search::Simple;
 package RT::Search::Simple;
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the rt-commit mailing list