Permalink
Browse files

Cleanup, making it work on 2.5

  • Loading branch information...
1 parent f9959e2 commit 1587e4bd6f5597ef32629acaa03e713e13d88a57 @stipsan committed Feb 15, 2012
Showing with 0 additions and 8 deletions.
  1. +0 −8 code/administrator/components/com_ninja/views/html.php
@@ -266,14 +266,6 @@ public function render( $content = ' ', $title = false, array $module = array(),
$chrome = array();
}
- jimport('joomla.application.module.helper');
- $load =& JModuleHelper::_load();
-
- if(!$this->_modules) $this->_modules_backup = $this->_modules = $load;
-
- $this->_modules[] = $module;
- $load = $this->_modules;
-
require_once JPATH_BASE.DS.'templates'.DS.'system'.DS.'html'.DS.'modules.php';
$chromePath = JPATH_BASE.DS.'templates'.DS.$mainframe->getTemplate().DS.'html'.DS.'modules.php';

0 comments on commit 1587e4b

Please sign in to comment.