ActionController: remove addModuleContainer

This method was obsolete
This commit is contained in:
Thomas Gelf 2014-06-22 12:09:07 +02:00
parent 4980b700da
commit 9608d8254d
1 changed files with 0 additions and 13 deletions

View File

@ -415,7 +415,6 @@ class ActionController extends Zend_Controller_Action
Benchmark::measure('Action::postDispatch()');
$layout = $this->_helper->layout();
// $this->addModuleContainer();
$isXhr = $this->_request->isXmlHttpRequest();
$layout->moduleName = $this->_request->getModuleName();
if ($layout->moduleName === 'default') {
@ -482,18 +481,6 @@ class ActionController extends Zend_Controller_Action
}
}
protected function addModuleContainer()
{
$module_name = $this->_request->getModuleName();
$this->_helper->layout()->moduleStart =
'<div class="icinga-module module-'
. $module_name
. '" data-icinga-module="' . $module_name . '">'
. "\n"
;
$this->_helper->layout()->moduleEnd = "</div>\n";
}
protected function sendAsPdf()
{
$pdf = new Pdf();