Refactor code to the common place

[MAILPOET-1859]
This commit is contained in:
Pavel Dohnal
2019-07-17 14:41:13 +02:00
committed by M. Shull
parent 8f5fb52f15
commit d58b2ed40e
5 changed files with 72 additions and 52 deletions

View File

@ -44,7 +44,7 @@ class AutomatedEmails extends SimpleWorker {
function processTaskStrategy(ScheduledTask $task) {
// TODO
// TODO refactor \MailPoet\Cron\Workers\StatsNotifications\Worker and Scheduler and share the code
// TODO refactor the views templates mailpoet/views/emails/statsNotification.html and txt and share them
// TODO settings isn't saved properly :(
}
static function getNextRunDate() {