From e218039b7e4c486d52630ece320b26f6cac085be Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Fri, 1 Oct 2021 17:05:59 +1300 Subject: [PATCH] Remove unused paramter --- CRM/Contact/Form/Task/EmailTrait.php | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/CRM/Contact/Form/Task/EmailTrait.php b/CRM/Contact/Form/Task/EmailTrait.php index 3b23ad98f6..3c091a3ee7 100644 --- a/CRM/Contact/Form/Task/EmailTrait.php +++ b/CRM/Contact/Form/Task/EmailTrait.php @@ -874,7 +874,6 @@ trait CRM_Contact_Form_Task_EmailTrait { if ($this->sendMessage( $from, - $userID, $contactId, $renderedTemplate['subject'], $renderedTemplate['text'], @@ -953,7 +952,6 @@ trait CRM_Contact_Form_Task_EmailTrait { * Send message - under refactor. * * @param $from - * @param $fromID * @param $toID * @param $subject * @param $text_message @@ -970,11 +968,10 @@ trait CRM_Contact_Form_Task_EmailTrait { */ protected function sendMessage( $from, - $fromID, $toID, - &$subject, - &$text_message, - &$html_message, + $subject, + $text_message, + $html_message, $emailAddress, $activityID, $attachments = NULL, -- 2.25.1