*/
public function renderMenu () {
// Initialize the menu system by preparing it's template instance
- $templateInstance = ObjectFactory::createObjectByConfiguredName('menu_template_class', array($this->getApplicationInstance(), $this));
+ $templateInstance = ObjectFactory::createObjectByConfiguredName('menu_template_class', array($this));
// Set it for later use
$this->setTemplateInstance($templateInstance);