Remove unused variable
[civicrm-core.git] / CRM / Utils / Token.php
index 5347d07b0ed6089ffe94abd7b1ec2011fc7a3389..ed97fbf8039eb0d1f1a9efc99c2ea8765a4f1f89 100644 (file)
@@ -1350,7 +1350,6 @@ class CRM_Utils_Token {
       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;