- Fixes queue worker issue

This commit is contained in:
Vlad
2016-03-21 08:58:51 -04:00
parent 42c4139ba5
commit a3d7d53eea

View File

@ -21,13 +21,13 @@ class SendingQueue {
const batch_size = 50; const batch_size = 50;
function __construct($timer = false) { function __construct($timer = false) {
/* $this->mta_config = $this->getMailerConfig(); $this->mta_config = $this->getMailerConfig();
$this->mta_log = $this->getMailerLog(); $this->mta_log = $this->getMailerLog();
$this->processing_method = ($this->mta_config['method'] === 'MailPoet') ? $this->processing_method = ($this->mta_config['method'] === 'MailPoet') ?
'processBulkSubscribers' : 'processBulkSubscribers' :
'processIndividualSubscriber'; 'processIndividualSubscriber';
$this->timer = ($timer) ? $timer : microtime(true); $this->timer = ($timer) ? $timer : microtime(true);
CronHelper::checkExecutionTimer($this->timer);*/ CronHelper::checkExecutionTimer($this->timer);
} }
function process() { function process() {