]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/template/announcement/class_XmlAnnouncementTemplateEngine.php
Also loadXmlTemplate() is now very generic (so maybe it can be moved to 'core'?)
[hub.git] / application / hub / main / template / announcement / class_XmlAnnouncementTemplateEngine.php
index dde53d35e666b0b19d6b7591dffee30ceb2a48ab..b230b49d955d829f7017c0ef3fe270d3f753f65e 100644 (file)
@@ -80,21 +80,6 @@ class XmlAnnouncementTemplateEngine extends BaseXmlTemplateEngine implements Com
                return $templateInstance;
        }
 
-       /**
-        * Load a specified announcement template into the engine
-        *
-        * @param       $template       The announcement template we shall load which is
-        *                                              located in 'announcement' by default
-        * @return      void
-        */
-       public function loadAnnouncementTemplate ($template = 'self_announcement') {
-               // Set template type
-               $this->setTemplateType($this->getConfigInstance()->getConfigEntry('node_announcement_template_type'));
-
-               // Load the special template
-               $this->loadTemplate($template);
-       }
-
        /**
         * Currently not used
         *