Remove 'bad' tokens from badge tokens
authorEileen McNaughton <emcnaughton@wikimedia.org>
Fri, 17 Sep 2021 20:39:14 +0000 (08:39 +1200)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Sat, 18 Sep 2021 01:22:22 +0000 (13:22 +1200)
commitc9ce39662f13b08f730d1431ed217f2be03458c2
tree180721f8d2bf0fa32193cd9fbea9f7e53559a47d
parent8ff591cb26806a044fc8bdab0d521b8f9b3593b3
Remove 'bad' tokens from badge tokens

These tokens are
a) non-standard, not easily supported
b) illogical in the only current core usage context
that currently uses these tokens (event badges)
c) partially broken - currency returns nothing, note doesn't make sense
CRM/Core/SelectValues.php
CRM/Upgrade/Incremental/MessageTemplates.php
tests/phpunit/CRM/Event/Form/Task/BadgeTest.php
tests/phpunit/CRM/Utils/TokenConsistencyTest.php