From: Tim Otten Date: Thu, 22 Dec 2016 19:41:07 +0000 (-0600) Subject: CRM-19690 - MailingJob::findPendingTasks() - Tweak style X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=5f9481d625fc54ee14915c4f8d9d40eca4592a28;p=civicrm-core.git CRM-19690 - MailingJob::findPendingTasks() - Tweak style --- diff --git a/CRM/Mailing/BAO/MailingJob.php b/CRM/Mailing/BAO/MailingJob.php index 6a8e425242..11db3e44f5 100644 --- a/CRM/Mailing/BAO/MailingJob.php +++ b/CRM/Mailing/BAO/MailingJob.php @@ -984,9 +984,12 @@ AND record_type_id = $targetRecordID } /** + * Search the mailing-event queue for a list of pending delivery tasks. + * * @param int $jobId * @param string $medium * Ex: 'email' or 'sms'. + * * @return \CRM_Mailing_Event_BAO_Queue * A query object whose rows provide ('id', 'contact_id', 'hash') and ('email' or 'phone'). */ @@ -994,7 +997,7 @@ AND record_type_id = $targetRecordID $eq = new CRM_Mailing_Event_BAO_Queue(); $queueTable = CRM_Mailing_Event_BAO_Queue::getTableName(); $emailTable = CRM_Core_BAO_Email::getTableName(); - $phoneTable = CRM_Core_DAO_Phone::getTableName(); + $phoneTable = CRM_Core_BAO_Phone::getTableName(); $contactTable = CRM_Contact_BAO_Contact::getTableName(); $deliveredTable = CRM_Mailing_Event_BAO_Delivered::getTableName(); $bounceTable = CRM_Mailing_Event_BAO_Bounce::getTableName();