Brought loadEmailTemplate() back to life.
[core.git] / inc / classes / main / mailer / class_BaseMailer.php
index 709945e4b44c3f586c35f67c5fd2fbc569d310bb..db07b20d85a0de511900cc5b0f0dc89bcb68a5fd 100644 (file)
@@ -52,9 +52,7 @@ class BaseMailer extends BaseFrameworkSystem {
                $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);
        }
 
        /**