Use a constant instead of string

[MAILPOET-5982]
This commit is contained in:
Pavel Dohnal
2024-06-06 07:44:44 +02:00
committed by Veljko V
parent 1f8edf666a
commit 4b14ae26cb

View File

@@ -163,7 +163,7 @@ class UpdateAutomationController {
$runIds[$run->getId()] = $run; $runIds[$run->getId()] = $run;
} }
$actions = $this->actionScheduler->getScheduledActions(['hook' => Hooks::AUTOMATION_STEP, 'status' => 'pending']); $actions = $this->actionScheduler->getScheduledActions(['hook' => Hooks::AUTOMATION_STEP, 'status' => \ActionScheduler_Store::STATUS_PENDING]);
foreach ($actions as $action) { foreach ($actions as $action) {
$args = $action->get_args(); $args = $action->get_args();