ActionController: Drop method `handlerBrowserWindows()`

This commit is contained in:
Johannes Meyer 2020-01-14 09:46:50 +01:00
parent 855bb8ae72
commit 9fe43dda5f
1 changed files with 0 additions and 13 deletions

View File

@ -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;