[Rt-commit] [rtir] 08/24: Switch another use of queue name to queue lifecycle
Jesse Vincent
jesse at bestpractical.com
Mon Feb 9 00:25:19 EST 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 ad3f8816ffc64c13e082c2efdf667f09b4b866bb
Author: Jesse Vincent <jesse at bestpractical.com>
Date: Fri Feb 6 16:12:48 2015 -0800
Switch another use of queue name to queue lifecycle
---
lib/RT/Condition/RTIR_LinkingToIncident.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/RT/Condition/RTIR_LinkingToIncident.pm b/lib/RT/Condition/RTIR_LinkingToIncident.pm
index 5bdabd9..f04a187 100644
--- a/lib/RT/Condition/RTIR_LinkingToIncident.pm
+++ b/lib/RT/Condition/RTIR_LinkingToIncident.pm
@@ -80,7 +80,7 @@ sub IsApplicable {
RT->Logger->error( "Couldn't load linked ticket #". $self->TransactionObj->NewValue ." $msg");
return 0;
}
- return $parent->QueueObj->Name eq 'Incidents';
+ return $parent->QueueObj->Lifecycle eq 'incidents';
}
elsif ( $type eq 'AddLink' && $field eq 'MergedInto' ) {
return RT::IR->Incidents( $self->TicketObj )->Count;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the rt-commit
mailing list