From 9fe43dda5f0ea1ccca8665d0e5dbf582ab7b4b68 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Tue, 14 Jan 2020 09:46:50 +0100 Subject: [PATCH] ActionController: Drop method `handlerBrowserWindows()` --- library/Icinga/Web/Controller/ActionController.php | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/library/Icinga/Web/Controller/ActionController.php b/library/Icinga/Web/Controller/ActionController.php index ecb2dfa3f..e1324c3d9 100644 --- a/library/Icinga/Web/Controller/ActionController.php +++ b/library/Icinga/Web/Controller/ActionController.php @@ -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;