Decorators moved, naming convention applied:
[core.git] / inc / classes / main / mailer / class_BaseMailer.php
index 76ab283686d96130ac20dbdfa40354664ffded74..5d2b045ad2d74e352712bab71566fcab0fe0a0bc 100644 (file)
@@ -57,7 +57,9 @@ class BaseMailer extends BaseFrameworkSystem {
                $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);
        }
 
        /**