]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/mailer/class_BaseMailer.php
readConfig() is not naming convention, renamed to getConfigEntry()
[core.git] / inc / classes / main / mailer / class_BaseMailer.php
index 895ae2b5f9d1a4bfb7d1a9b44a9a0b08f76230b3..08f66fc4cf56563d4d777be4b0a43caff6a20a1a 100644 (file)
@@ -4,7 +4,7 @@
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007 - 2009 Roland Haeder, this is free software
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
@@ -30,7 +30,7 @@ class BaseMailer extends BaseFrameworkSystem {
        /**
         * Template name
         */
-       private $templateName = "";
+       private $templateName = '';
 
        /**
         * Protected constructor
@@ -58,7 +58,7 @@ class BaseMailer extends BaseFrameworkSystem {
                $this->setTemplateName($templateName);
 
                // Get configuration entry
-               $templatePrefix = $this->getConfigInstance()->readConfig('email_tpl_' . $templateName);
+               $templatePrefix = $this->getConfigInstance()->getConfigEntry('email_tpl_' . $templateName);
 
                // Load this email template
                $this->getTemplateInstance()->loadEmailTemplate($templatePrefix . '_' . $templateName);