Refactor newly added cron workers to use new settings

[MAILPOET-1757]
This commit is contained in:
Rostislav Wolny
2019-01-30 14:18:13 +01:00
parent 5f9aa306c4
commit a12d0ff4bc
6 changed files with 42 additions and 17 deletions

View File

@ -59,7 +59,7 @@ class WorkersFactory {
}
function createStatsNotificationsWorker($timer) {
return new StatsNotificationsWorker($this->mailer, $this->renderer, $timer);
return new StatsNotificationsWorker($this->mailer, $this->renderer, $this->settings, $timer);
}
/** @return SendingServiceKeyCheckWorker */