| @@ 172-177 (lines=6) @@ | ||
| 169 | } |
|
| 170 | } |
|
| 171 | ||
| 172 | foreach ($transitions as $transition) { |
|
| 173 | if (isset($actions[$transition->Target])) { |
|
| 174 | $transition->NextActionID = $actions[$transition->Target]->ID; |
|
| 175 | } |
|
| 176 | $transition->write(); |
|
| 177 | } |
|
| 178 | ||
| 179 | return $actions; |
|
| 180 | } |
|
| @@ 368-373 (lines=6) @@ | ||
| 365 | } |
|
| 366 | } |
|
| 367 | ||
| 368 | foreach ($transitions as $transition) { |
|
| 369 | if (isset($actions[$transition->Target])) { |
|
| 370 | $transition->NextActionID = $actions[$transition->Target]->ID; |
|
| 371 | } |
|
| 372 | $transition->write(); |
|
| 373 | } |
|
| 374 | ||
| 375 | // Set the version and do the write at the end so that we don't trigger an infinite loop!! |
|
| 376 | $definition->Description = $this->getDescription(); |
|