diff --git a/lib/Config/Hooks.php b/lib/Config/Hooks.php index 04cb3e5465..4e26b432f7 100644 --- a/lib/Config/Hooks.php +++ b/lib/Config/Hooks.php @@ -149,7 +149,7 @@ class Hooks { } function setupCronWorkers() { - add_action('mailpoet_cron_worker', array($this, 'runShedulerWorker'), 10, 1); + add_action('mailpoet_cron_worker', array($this, 'runSchedulerWorker'), 10, 1); add_action('mailpoet_cron_worker', array($this, 'runSendingQueueWorker'), 10, 1); } @@ -162,4 +162,4 @@ class Hooks { $sending_queue = new SendingQueue($timer); $sending_queue->process(); } -} \ No newline at end of file +}