@@ 153-158 (lines=6) @@ | ||
150 | } |
|
151 | } |
|
152 | ||
153 | foreach ($transitions as $transition) { |
|
154 | if (isset($actions[$transition->Target])) { |
|
155 | $transition->NextActionID = $actions[$transition->Target]->ID; |
|
156 | } |
|
157 | $transition->write(); |
|
158 | } |
|
159 | ||
160 | return $actions; |
|
161 | } |
|
@@ 343-348 (lines=6) @@ | ||
340 | } |
|
341 | } |
|
342 | ||
343 | foreach ($transitions as $transition) { |
|
344 | if (isset($actions[$transition->Target])) { |
|
345 | $transition->NextActionID = $actions[$transition->Target]->ID; |
|
346 | } |
|
347 | $transition->write(); |
|
348 | } |
|
349 | ||
350 | // Set the version and do the write at the end so that we don't trigger an infinite loop!! |
|
351 | $definition->Description = $this->getDescription(); |