@@ 547-553 (lines=7) @@ | ||
544 | ||
545 | $globalActions = $wf->getGlobalActions(); |
|
546 | ||
547 | foreach ($globalActions as $action) { |
|
548 | $transientVars['actionId'] = $action->getId(); |
|
549 | ||
550 | if ($action->getAutoExecute() && $this->isActionAvailable($action, $transientVars, $ps, 0)) { |
|
551 | $l[] = $action->getId(); |
|
552 | } |
|
553 | } |
|
554 | ||
555 | foreach ($currentSteps as $step) { |
|
556 | $availableAutoActionsForStep = $this->getAvailableAutoActionsForStep($wf, $step, $transientVars, $ps); |
|
@@ 605-611 (lines=7) @@ | ||
602 | return $l; |
|
603 | } |
|
604 | ||
605 | foreach ($actions as $action) { |
|
606 | $transientVars['actionId'] = $action->getId(); |
|
607 | ||
608 | if ($action->getAutoExecute() && $this->isActionAvailable($action, $transientVars, $ps, 0)) { |
|
609 | $l[] = $action->getId(); |
|
610 | } |
|
611 | } |
|
612 | ||
613 | return $l; |
|
614 | } |