[Rt-commit] r3172 - in RT-Extension-ExtractSubjectTagOnTransaction:
. etc
kevinr at bestpractical.com
kevinr at bestpractical.com
Wed Jun 15 16:08:59 EDT 2005
Author: kevinr
Date: Wed Jun 15 16:08:58 2005
New Revision: 3172
Added:
RT-Extension-ExtractSubjectTagOnTransaction/etc/no-autoopen.patch
Modified:
RT-Extension-ExtractSubjectTagOnTransaction/ (props changed)
Log:
r4302 at sad-girl-in-snow: kevinr | 2005-06-15 16:08:50 -0400
* Included patch file
Added: RT-Extension-ExtractSubjectTagOnTransaction/etc/no-autoopen.patch
==============================================================================
--- (empty file)
+++ RT-Extension-ExtractSubjectTagOnTransaction/etc/no-autoopen.patch Wed Jun 15 16:08:58 2005
@@ -0,0 +1,13 @@
+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