Reschedule bounce task
[MAILPOET-2100]
This commit is contained in:
@ -125,6 +125,10 @@ abstract class SimpleWorker {
|
||||
return $date;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param bool $future
|
||||
* @return ScheduledTask[]
|
||||
*/
|
||||
static function getScheduledTasks($future = false) {
|
||||
$dateWhere = ($future) ? 'whereGt' : 'whereLte';
|
||||
$wp = new WPFunctions();
|
||||
|
Reference in New Issue
Block a user