| @@ 161-166 (lines=6) @@ | ||
| 158 | } |
|
| 159 | } |
|
| 160 | ||
| 161 | foreach ($transitions as $transition) { |
|
| 162 | if (isset($actions[$transition->Target])) { |
|
| 163 | $transition->NextActionID = $actions[$transition->Target]->ID; |
|
| 164 | } |
|
| 165 | $transition->write(); |
|
| 166 | } |
|
| 167 | ||
| 168 | return $actions; |
|
| 169 | } |
|
| @@ 354-359 (lines=6) @@ | ||
| 351 | } |
|
| 352 | } |
|
| 353 | ||
| 354 | foreach ($transitions as $transition) { |
|
| 355 | if (isset($actions[$transition->Target])) { |
|
| 356 | $transition->NextActionID = $actions[$transition->Target]->ID; |
|
| 357 | } |
|
| 358 | $transition->write(); |
|
| 359 | } |
|
| 360 | ||
| 361 | // Set the version and do the write at the end so that we don't trigger an infinite loop!! |
|
| 362 | $definition->Description = $this->getDescription(); |
|