-
-
Notifications
You must be signed in to change notification settings - Fork 825
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev/core#2303 Extract function to load the messageContent for a template
This is a fairly straightforward extraction, seeking to break down the very-busy sendtemplate function into the sub-functions within it. Essentially we load the template content, we swap out the tokens and we send it. Note that I have added a parameter to the output sent to alterMailContent of 'workflow_name' which is more accurate - I will update the docs
- Loading branch information
1 parent
36c2072
commit fe6173f
Showing
1 changed file
with
74 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters