// other emails, this job might have changed under us
// lets get the job status again and check
$job->status = CRM_Core_DAO::getFieldValue(
- 'CRM_Mailing_DAO_Job',
+ 'CRM_Mailing_DAO_MailingJob',
$job->id,
'status',
'id',
// changed between the first query and now
// to avoid race conditions
$job->status = CRM_Core_DAO::getFieldValue(
- 'CRM_Mailing_DAO_Job',
+ 'CRM_Mailing_DAO_MailingJob',
$job->id,
'status',
'id',
);
// create one child job if the mailing size is less than the offset
- // probably use a CRM_Mailing_DAO_Job( );
+ // probably use a CRM_Mailing_DAO_MailingJob( );
if (empty($offset) ||
$recipient_count <= $offset
) {
// to avoid making too many DB calls for this rare case
// lets do it when we snapshot
$status = CRM_Core_DAO::getFieldValue(
- 'CRM_Mailing_DAO_Job',
+ 'CRM_Mailing_DAO_MailingJob',
$this->id,
'status',
'id',
);
$this->_columns['civicrm_mailing_job'] = array(
- 'dao' => 'CRM_Mailing_DAO_Job',
+ 'dao' => 'CRM_Mailing_DAO_MailingJob',
'fields' => array(
'start_date' => array(
'title' => ts('Start Date'),