Remove outdated code comment
This class doesn't use MailPoet\Tasks\Sending anymore. [MAILPOET-5684]
This commit is contained in:
committed by
Aschepikov
parent
4ab07621b3
commit
0409747216
@@ -243,8 +243,6 @@ class NewslettersResponseBuilder {
|
||||
if ($task === null) {
|
||||
return null;
|
||||
}
|
||||
// the following crazy mix of '$queue' and '$task' comes from 'array_merge($task, $queue)'
|
||||
// (MailPoet\Tasks\Sending) which means all equal-named fields will be taken from '$queue'
|
||||
return [
|
||||
'id' => (string)$queue->getId(), // (string) for BC
|
||||
'type' => $task->getType(),
|
||||
|
Reference in New Issue
Block a user