ActionController: remove addModuleContainer
This method was obsolete
This commit is contained in:
parent
4980b700da
commit
9608d8254d
|
@ -415,7 +415,6 @@ class ActionController extends Zend_Controller_Action
|
||||||
Benchmark::measure('Action::postDispatch()');
|
Benchmark::measure('Action::postDispatch()');
|
||||||
|
|
||||||
$layout = $this->_helper->layout();
|
$layout = $this->_helper->layout();
|
||||||
// $this->addModuleContainer();
|
|
||||||
$isXhr = $this->_request->isXmlHttpRequest();
|
$isXhr = $this->_request->isXmlHttpRequest();
|
||||||
$layout->moduleName = $this->_request->getModuleName();
|
$layout->moduleName = $this->_request->getModuleName();
|
||||||
if ($layout->moduleName === 'default') {
|
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()
|
protected function sendAsPdf()
|
||||||
{
|
{
|
||||||
$pdf = new Pdf();
|
$pdf = new Pdf();
|
||||||
|
|
Loading…
Reference in New Issue