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