Removes call to method that marks sending queue task as complete
When sending queue is added, subscriber count is always 0 and subscribers list is null. To that end, the removed code had no effect and only introduced an issue.
This commit is contained in:
@ -72,10 +72,7 @@ class SendingQueue extends APIEndpoint {
|
||||
|
||||
// set queue status
|
||||
$queue->status = SendingQueueModel::STATUS_SCHEDULED;
|
||||
$queue->scheduled_at = Scheduler::formatDatetimeString(
|
||||
$newsletter->scheduledAt
|
||||
);
|
||||
$queue->removeAllSubscribers();
|
||||
$queue->scheduled_at = Scheduler::formatDatetimeString($newsletter->scheduledAt);
|
||||
} else {
|
||||
$segments = $newsletter->segments()->findArray();
|
||||
$finder = new SubscribersFinder();
|
||||
|
Reference in New Issue
Block a user