From 91837d8e5824b5ada851a1b11a630b26739c6aad Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Wed, 3 Aug 2022 11:25:26 +1200 Subject: [PATCH] Remove unused variable --- CRM/Utils/Token.php | 1 - 1 file changed, 1 deletion(-) diff --git a/CRM/Utils/Token.php b/CRM/Utils/Token.php index 5347d07b0ed6..ed97fbf8039e 100644 --- a/CRM/Utils/Token.php +++ b/CRM/Utils/Token.php @@ -1350,7 +1350,6 @@ public static function replaceGreetingTokens(&$tokenString, $contactDetails = NU return; } // check if there are any tokens - $greetingTokens = self::getTokens($tokenString); $context = $contactId ? ['contactId' => $contactId] : []; if ($contactDetails) { $context['contact'] = isset($contactDetails[0]) ? reset($contactDetails[0]) : $contactDetails;