Set even 30 days old newsletters as scheduled when reactivating an email
[MAILPOET-2709]
This commit is contained in:
committed by
Veljko V
parent
78dc682763
commit
dc55fb64cd
@ -79,7 +79,7 @@ class ScheduledTask extends Model {
|
||||
'WHERE ' .
|
||||
'q.`newsletter_id` = ' . $newsletter->id() .
|
||||
' AND t.`status` = "' . self::STATUS_PAUSED . '" ' .
|
||||
' AND t.`scheduled_at` > NOW()'
|
||||
' AND t.`scheduled_at` > CURDATE() - INTERVAL 30 DAY'
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user