[Rt-commit] rt branch, 4.2-trunk, updated. rt-4.2.10-143-g5ff834f

Alex Vandiver alexmv at bestpractical.com
Thu Mar 5 19:07:15 EST 2015


The branch, 4.2-trunk has been updated
       via  5ff834f66c9d8b98c94c05807bff63c74090af51 (commit)
       via  4e8d77b474f5ab4839c767e6e078b66088815b5d (commit)
      from  db237d38b600375a3e5b71be474b910365980db6 (commit)

Summary of changes:
 lib/RT/Interface/Web.pm | 1 +
 1 file changed, 1 insertion(+)

- Log -----------------------------------------------------------------
commit 4e8d77b474f5ab4839c767e6e078b66088815b5d
Author: Christian Loos <cloos at netcologne.de>
Date:   Tue Feb 10 16:15:06 2015 +0100

    pass SquelchMailTo to Ticket->Create
    
    1eba3f98e9fbd6795b3b4f108c5daba381fbf00a introduced creating tickets
    with squelched recepients, but this was only done in Ticket->Create.
    
    Actually the ticket create page passes his args to CreateTicket, which
    furthur send only a subset of args to Ticket->Create.
    
    Passing the SquelchMailTo to Ticket->Create makes it possible for custom
    ticket create forms or extensions based on RT::Extension::FormTools to
    squelch recepients on create.

diff --git a/lib/RT/Interface/Web.pm b/lib/RT/Interface/Web.pm
index 0777ee2..e0ec2ad 100644
--- a/lib/RT/Interface/Web.pm
+++ b/lib/RT/Interface/Web.pm
@@ -2152,6 +2152,7 @@ sub CreateTicket {
         Due             => $due ? $due->ISO : undef,
         Starts          => $starts ? $starts->ISO : undef,
         MIMEObj         => $MIMEObj,
+        SquelchMailTo   => $ARGS{'SquelchMailTo'},
         TransSquelchMailTo => $ARGS{'TransSquelchMailTo'},
     );
 

commit 5ff834f66c9d8b98c94c05807bff63c74090af51
Merge: db237d3 4e8d77b
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Thu Mar 5 19:06:34 2015 -0500

    Merge branch '4.2/squelch-on-create' into 4.2-trunk


-----------------------------------------------------------------------


More information about the rt-commit mailing list