]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/helper/hub/connection/class_HubSelfConnectHelper.php
Removed obsolete parameter 'applicationInstance' from all template engines
[hub.git] / application / hub / main / helper / hub / connection / class_HubSelfConnectHelper.php
index c1e00ff7bc928ec1301a58457da7595a9080fbab..552e031a0658992b9261e077679cf7f8345bb257 100644 (file)
@@ -4,7 +4,7 @@
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009, 2010 Core Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2011 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  * @todo               Find an interface for hub helper
@@ -68,10 +68,10 @@ class HubSelfConnectHelper extends BaseHubHelper implements HelpableHub {
                $this->debugOutput('HELPER: Attempting self-connect...');
 
                // Get the application instance
-               $appInstance = Registry::getRegistry()->getInstance('app');
+               $applicationInstance = Registry::getRegistry()->getInstance('app');
 
                // Get a XML template instance
-               $templateInstance = ObjectFactory::createObjectByConfiguredName('self_connect_template_class', array($appInstance));
+               $templateInstance = ObjectFactory::createObjectByConfiguredName('node_self_connect_template_class');
 
                // Disable language support
                $templateInstance->enableLanguageSupport(false);