Skip to content

Commit

Permalink
Remove unused parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
eileenmcnaughton committed Sep 7, 2023
1 parent 6c20e56 commit 978882a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions CRM/Utils/Mail/Incoming.php
Original file line number Diff line number Diff line change
Expand Up @@ -367,8 +367,7 @@ private static function parseAddress($address, &$subParam, &$mail, $createContac

$contactID = self::getContactID($subParam['email'],
$subParam['name'],
$createContact,
$mail
$createContact
);
$subParam['id'] = $contactID ?: NULL;
}
Expand Down Expand Up @@ -397,11 +396,12 @@ private static function parseAddresses(&$addresses, $token, &$params, &$mail, $c
* @param string $email
* @param string $name
* @param bool $create
* @param string $mail
*
* @internal core use only (only use outside this class is in core unit tests).
*
* @return int|null
*/
public static function getContactID($email, $name, $create, &$mail) {
public static function getContactID($email, $name, $create) {
$dao = CRM_Contact_BAO_Contact::matchContactOnEmail($email, 'Individual');

$contactID = NULL;
Expand Down

0 comments on commit 978882a

Please sign in to comment.