X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=application%2Fhub%2Fmain%2Fhelper%2Fhub%2Fconnection%2Fclass_HubSelfConnectHelper.php;h=552e031a0658992b9261e077679cf7f8345bb257;hb=1805208f0438c7089aa1d37b7a1cd51b796063d8;hp=c1e00ff7bc928ec1301a58457da7595a9080fbab;hpb=f33fd598a1a77034720172ea80353e4d4c0f9662;p=hub.git diff --git a/application/hub/main/helper/hub/connection/class_HubSelfConnectHelper.php b/application/hub/main/helper/hub/connection/class_HubSelfConnectHelper.php index c1e00ff7b..552e031a0 100644 --- a/application/hub/main/helper/hub/connection/class_HubSelfConnectHelper.php +++ b/application/hub/main/helper/hub/connection/class_HubSelfConnectHelper.php @@ -4,7 +4,7 @@ * * @author Roland Haeder * @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);