[otrs-cvs] otrs/Kernel/System/Ticket/Event TicketProcessTransitions.pm, 1.3, 1.4

"CVS commits notifications of OTRS.org" <[email protected]>
Newsgroups gmane.comp.otrs.cvs
Message-ID <[email protected]>
Comments:
Update of /home/cvs/otrs/Kernel/System/Ticket/Event
In directory lancelot:/tmp/cvs-serv26379/Kernel/System/Ticket/Event

Modified Files:
	TicketProcessTransitions.pm 
Log Message:
Added ActivityDialogObject as requirement to ProcessObject constructor.

Author: cr

Index: TicketProcessTransitions.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/System/Ticket/Event/TicketProcessTransitions.pm,v
retrieving revision 1.3
retrieving revision 1.4
diff -2 -u -d -r1.3 -r1.4
--- TicketProcessTransitions.pm	20 Nov 2012 16:01:31 -0000	1.3
+++ TicketProcessTransitions.pm	15 Jan 2013 18:36:41 -0000	1.4
@@ -1,5 +1,5 @@
 # --
 # Kernel/System/Ticket/Event/TicketProcessTransitions.pm - a event module to chage from one activity to another based on the transition
-# Copyright (C) 2001-2012 OTRS AG, http://otrs.org/
+# Copyright (C) 2001-2013 OTRS AG, http://otrs.org/
 # --
 # $Id$
@@ -25,7 +25,8 @@
 use warnings;
 
+use Kernel::System::ProcessManagement::Activity;
+use Kernel::System::ProcessManagement::ActivityDialog;
 use Kernel::System::ProcessManagement::Process;
 use Kernel::System::ProcessManagement::Transition;
-use Kernel::System::ProcessManagement::Activity;
 use Kernel::System::ProcessManagement::TransitionAction;
 
@@ -112,12 +113,15 @@
 
     # Create the needed objects only now to save performance.
+    my $ActivityObject = Kernel::System::ProcessManagement::Activity->new( %{$Self} );
+    my $ActivityDialogObject
+        = Kernel::System::ProcessManagement::ActivityDialog->new( %{$Self} );
     my $TransitionObject = Kernel::System::ProcessManagement::Transition->new( %{$Self} );
-    my $ActivityObject   = Kernel::System::ProcessManagement::Activity->new( %{$Self} );
     my $TransitionActionObject
         = Kernel::System::ProcessManagement::TransitionAction->new( %{$Self} );
     my $ProcessObject = Kernel::System::ProcessManagement::Process->new(
         %{$Self},
-        TransitionObject       => $TransitionObject,
         ActivityObject         => $ActivityObject,
+        ActivityDialogObject   => $ActivityDialogObject,
+        TransitionObject       => $TransitionObject,
         TransitionActionObject => $TransitionActionObject,
     );
---------------------------------------------------------------------
OTRS mailing list: cvs-log - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/cvs-log
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/cvs-log
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.