@@ 608-614 (lines=7) @@ | ||
605 | ||
606 | $globalActions = $wf->getGlobalActions(); |
|
607 | ||
608 | foreach ($globalActions as $action) { |
|
609 | $transientVars['actionId'] = $action->getId(); |
|
610 | ||
611 | if ($action->getAutoExecute() && $this->isActionAvailable($action, $transientVars, $ps, 0)) { |
|
612 | $l[] = $action->getId(); |
|
613 | } |
|
614 | } |
|
615 | ||
616 | foreach ($currentSteps as $step) { |
|
617 | $availableAutoActionsForStep = $this->getAvailableAutoActionsForStep($wf, $step, $transientVars, $ps); |
|
@@ 665-671 (lines=7) @@ | ||
662 | return $l; |
|
663 | } |
|
664 | ||
665 | foreach ($actions as $action) { |
|
666 | $transientVars['actionId'] = $action->getId(); |
|
667 | ||
668 | if ($action->getAutoExecute() && $this->isActionAvailable($action, $transientVars, $ps, 0)) { |
|
669 | $l[] = $action->getId(); |
|
670 | } |
|
671 | } |
|
672 | ||
673 | return $l; |
|
674 | } |