$templatePrefix = $this->getConfigInstance()->getConfigEntry('email_tpl_' . $templateName);
// Load this email template
- $this->getTemplateInstance()->loadEmailTemplate($templatePrefix . '_' . $templateName);
+ // @TODO This needs testing/fixes because the deprecated method
+ // loadEmailTemplate() has been removed from interface CompileableTemplate.
+ $this->getTemplateInstance()->loadCodeTemplate($templatePrefix . '_' . $templateName);
}
/**