]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/helper/hub/connection/class_HubSelfConnectHelper.php
No need for calling ->getTemplateInstance() if is in same scope
[hub.git] / application / hub / main / helper / hub / connection / class_HubSelfConnectHelper.php
index 255afe5c6352536768f7313d74e6892e2f4dc045..7953f85133ea3f20c498d9c6979f17ee94e4c924 100644 (file)
@@ -69,10 +69,10 @@ class HubSelfConnectHelper extends BaseHubHelper implements HelpableHub {
                $this->setTemplateInstance($templateInstance);
 
                // Read the XML descriptor
-               $this->getTemplateInstance()->loadXmlTemplate();
+               $templateInstance->loadXmlTemplate();
 
                // Render the XML content
-               $this->getTemplateInstance()->renderXmlContent();
+               $templateInstance->renderXmlContent();
        }
 
        /**