Use a constant instead of string
[MAILPOET-5982]
This commit is contained in:
@@ -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();
|
||||||
|
Reference in New Issue
Block a user