]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/helper/hub/announcement/class_HubDescriptorHelper.php
Removed obsolete parameter 'applicationInstance' from all template engines
[hub.git] / application / hub / main / helper / hub / announcement / class_HubDescriptorHelper.php
index 6e912d0ef29511bf659a6a5f6ec0cef3bf3ba8db..f8c090366c335983248aa4f94a03aa754038b377 100644 (file)
@@ -72,7 +72,7 @@ class HubDescriptorHelper extends BaseHubHelper implements HelpableHub {
                $applicationInstance = Registry::getRegistry()->getInstance('app');
 
                // Get a XML template instance
-               $templateInstance = ObjectFactory::createObjectByConfiguredName('node_announcement_template_class', array($applicationInstance));
+               $templateInstance = ObjectFactory::createObjectByConfiguredName('node_announcement_template_class');
 
                // Disable language support
                $templateInstance->enableLanguageSupport(false);