mirror of
https://github.com/Icinga/icingaweb2.git
synced 2026-05-28 04:02:39 -04:00
ActionController: Drop method handlerBrowserWindows()
This commit is contained in:
parent
855bb8ae72
commit
9fe43dda5f
1 changed files with 0 additions and 13 deletions
|
|
@ -122,7 +122,6 @@ class ActionController extends Zend_Controller_Action
|
|||
->_setInvokeArgs($invokeArgs);
|
||||
$this->_helper = new Zend_Controller_Action_HelperBroker($this);
|
||||
|
||||
$this->handlerBrowserWindows();
|
||||
$moduleName = $this->getModuleName();
|
||||
$this->view->defaultTitle = static::DEFAULT_TITLE;
|
||||
$this->view->translationDomain = $moduleName !== 'default' ? $moduleName : 'icinga';
|
||||
|
|
@ -235,18 +234,6 @@ class ActionController extends Zend_Controller_Action
|
|||
return $this->window;
|
||||
}
|
||||
|
||||
protected function handlerBrowserWindows()
|
||||
{
|
||||
if ($this->isXhr()) {
|
||||
$id = $this->_request->getHeader('X-Icinga-WindowId', null);
|
||||
|
||||
if ($id === Window::UNDEFINED) {
|
||||
$this->window = new Window($id);
|
||||
$this->_response->setHeader('X-Icinga-WindowId', Window::generateId());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
protected function reloadCss()
|
||||
{
|
||||
$this->reloadCss = true;
|
||||
|
|
|
|||
Loading…
Reference in a new issue