Author: Sebastian Bergmann
Date: 2007-05-04 06:38:03 +0200 (Fri, 04 May 2007)
New Revision: 5032

Log:
- Use setThreadId().
Modified:
   trunk/Workflow/src/nodes/control_flow/discriminator.php

Modified: trunk/Workflow/src/nodes/control_flow/discriminator.php
===================================================================
--- trunk/Workflow/src/nodes/control_flow/discriminator.php     2007-05-03 
22:26:29 UTC (rev 5031)
+++ trunk/Workflow/src/nodes/control_flow/discriminator.php     2007-05-04 
04:38:03 UTC (rev 5032)
@@ -26,9 +26,9 @@
     public function activate( ezcWorkflowExecution $execution, ezcWorkflowNode 
$activatedFrom = null, $threadId = 0 )
     {
         $this->prepareActivate( $execution, $threadId );
+        $this->setThreadId( $execution->getParentThreadId( $threadId ) );
 
-        $numActivated   = count( $this->state );
-        $this->threadId = $execution->getParentThreadId( $threadId );
+        $numActivated = count( $this->state );
 
         if ( $numActivated == 1 )
         {

-- 
svn-components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/svn-components

Reply via email to