From 926d841d8a5c107aef09a0e84e82a7fd66a62c02 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Mon, 28 Nov 2016 19:35:53 -0800 Subject: [PATCH] CRM-19690 - Mailing - Make getTemplates and getVerpAndUrlsAndHeaders public These two functions will be useful in FlexMailer's DefaultEngine. --- CRM/Mailing/BAO/Mailing.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Mailing/BAO/Mailing.php b/CRM/Mailing/BAO/Mailing.php index ec91ca3acf..06970479e4 100644 --- a/CRM/Mailing/BAO/Mailing.php +++ b/CRM/Mailing/BAO/Mailing.php @@ -763,7 +763,7 @@ ORDER BY {$orderBy} * @return array * reference to an assoc array */ - private function &getTemplates() { + public function getTemplates() { if (!$this->templates) { $this->getHeaderFooter(); $this->templates = array(); @@ -1071,7 +1071,7 @@ ORDER BY civicrm_email.is_bulkmail DESC * @return array * array ref that hold array refs to the verp info, urls, and headers */ - private function getVerpAndUrlsAndHeaders($job_id, $event_queue_id, $hash, $email, $isForward = FALSE) { + public function getVerpAndUrlsAndHeaders($job_id, $event_queue_id, $hash, $email, $isForward = FALSE) { $config = CRM_Core_Config::singleton(); /** -- 2.25.1