Remove now-obsolete getPseudoTokens
authorEileen McNaughton <emcnaughton@wikimedia.org>
Thu, 7 Oct 2021 04:38:32 +0000 (17:38 +1300)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Thu, 7 Oct 2021 09:28:20 +0000 (22:28 +1300)
commit7a39d0457266c84f159d2323ff24b6d5add2b7a9
tree8f8ff06c7015f0ecfa403e48e9041e0fb148831c
parentf78c7ae68a84eb3021266d855658c972bf221627
Remove now-obsolete getPseudoTokens

This is now only called from legacy code. The buildContributionArray path
is still a little used :-( but is tested
from CRM_Contribute_Form_Task_PDFLetterCommonTest
and hard-coding the array now it is settled is appropriate
to that code path's life expectancy

This code is no longer used in the Tokens classes and the functions that used it
from outside of there are now 'settled into their final state & waiting to die'
so a hard-coded list will see out their lives. They are marked now as deprecated
CRM/Contribute/BAO/Contribution.php
CRM/Core/EntityTokens.php
CRM/Utils/Token.php