Skip to content

Use tokenProcessor to fix fatals for some tokens (and drop Smarty support)

bgm requested to merge tokenProcessor into master
  • Fixes fatal errors we were seeing with some custom tokens, where the token would not be replaced, then it would cause a smarty syntax error
  • Removes relying on a deprecated core function
  • Significative code cleanup
[warning] Deprecated function CRM_Utils_Token::replaceHookTokens, use token processor.

cc @jofranz @Tobias_Voigt @samuelsov - fyi for the breaking change (dropping Smarty support). To be clear, I'm not against keeping Smarty support, but it felt like unnecessary work.

Merge request reports