[Ref] Clarify calls to CRM_Utils_Token::getTokenDetails
authoreileen <emcnaughton@wikimedia.org>
Thu, 1 Oct 2020 05:13:07 +0000 (18:13 +1300)
committereileen <emcnaughton@wikimedia.org>
Thu, 1 Oct 2020 05:18:03 +0000 (18:18 +1300)
commit141ff2d234bd536d2ce74a838064d06a2b7e3408
treeb088f43e1cfeeecf261604993078e8c715217bb8
parent29ff32ead9cc14f8476f037298c9dbdd32f9a201
[Ref] Clarify calls to CRM_Utils_Token::getTokenDetails

This changes the call to getTokenDetails to make it clearer that only the first parameter is used.

The second parameter is an unused query that we should eliminate but getting it
easier to scan is a good first step
CRM/Contribute/Form/Task/PDFLetterCommon.php
CRM/Mailing/BAO/MailingJob.php
tests/phpunit/CRM/Utils/TokenTest.php