[Rt-commit] r3057 - in rt/branches/3.4-RELEASE: . lib/RT/Action

robert at bestpractical.com robert at bestpractical.com
Thu Jun 2 00:15:13 EDT 2005


Author: robert
Date: Thu Jun  2 00:15:13 2005
New Revision: 3057

Modified:
   rt/branches/3.4-RELEASE/   (props changed)
   rt/branches/3.4-RELEASE/lib/RT/Action/AutoOpen.pm
Log:
 r3073 at bear:  rspier | 2005-06-02T04:14:40.726890Z
 Support for RT-Control: no-autoopen 
 


Modified: rt/branches/3.4-RELEASE/lib/RT/Action/AutoOpen.pm
==============================================================================
--- rt/branches/3.4-RELEASE/lib/RT/Action/AutoOpen.pm	(original)
+++ rt/branches/3.4-RELEASE/lib/RT/Action/AutoOpen.pm	Thu Jun  2 00:15:13 2005
@@ -74,6 +74,8 @@
     if ( ( $self->TicketObj->Status eq 'open' )
          || ( ( $self->TicketObj->Status eq 'new' )
               && $self->TransactionObj->IsInbound )
+         || ( defined $self->TransactionObj->Message->First
+              && $self->TransactionObj->Message->First->GetHeader('RT-Control') =~ /\bno-autoopen\b/i )
       ) {
 
         return undef;


More information about the Rt-commit mailing list