Skip to content

Commit

Permalink
CRM-19690 - Mailing - Make getTemplates and getVerpAndUrlsAndHeaders …
Browse files Browse the repository at this point in the history
…public

These two functions will be useful in FlexMailer's DefaultEngine.
  • Loading branch information
totten committed Jan 18, 2017
1 parent d5c4958 commit 6fbbc4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CRM/Mailing/BAO/Mailing.php
Original file line number Diff line number Diff line change
Expand Up @@ -768,7 +768,7 @@ private function getPreparedTemplates() {
* @return array
* reference to an assoc array
*/
private function &getTemplates() {
public function getTemplates() {
if (!$this->templates) {
$this->getHeaderFooter();
$this->templates = array();
Expand Down Expand Up @@ -1063,7 +1063,7 @@ public static function getVerpAndUrls($job_id, $event_queue_id, $hash, $email) {
* @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();

/**
Expand Down

0 comments on commit 6fbbc4b

Please sign in to comment.