Details
-
Type: Improvement
-
Status: Open
-
Priority: Trivial
-
Resolution: Unresolved
-
Affects Version/s: 4.7.24
-
Fix Version/s: None
-
Component/s: None
-
Labels:
-
Versioning Impact:Patch (backwards-compatible bug fixes)
-
Documentation Required?:None
-
Funding Source:Contributed Code
-
Verified?:No
Description
This change allows the MessageTemplate.Get API function to be used throughout. BAO function getMessageTemplates is rewritten to use the new API equivalent instead of direct SQL queries.
stripTokens function added to remove PHP warnings when tokens are passed to smarty processor.
Unit tests for both included.