Bring back a check from MAILPOET-1261 (was omitted during rebase)

This commit is contained in:
stoletniy
2018-01-25 12:22:56 +03:00
parent c0c57f6b67
commit 0b17a1099b

View File

@ -135,7 +135,7 @@ class Sending {
public function updateProcessedSubscribers(array $processed_subscribers) { public function updateProcessedSubscribers(array $processed_subscribers) {
$this->task_subscribers->updateProcessedSubscribers($processed_subscribers); $this->task_subscribers->updateProcessedSubscribers($processed_subscribers);
$this->updateCount(); return $this->updateCount()->getErrors() === false;
} }
function updateCount() { function updateCount() {