|
3 | 3 |
|
4 | 4 | namespace Icinga\Web\Controller; |
5 | 5 |
|
6 | | -use Icinga\Application\Modules\Module; |
7 | | -use Icinga\Common\PdfExport; |
8 | | -use Icinga\File\Pdf; |
9 | | -use Icinga\Util\Csp; |
10 | | -use Icinga\Web\View; |
11 | | -use ipl\I18n\Translation; |
12 | | -use Zend_Controller_Action; |
13 | | -use Zend_Controller_Action_HelperBroker; |
14 | | -use Zend_Controller_Request_Abstract; |
15 | | -use Zend_Controller_Response_Abstract; |
16 | 6 | use Icinga\Application\Benchmark; |
17 | 7 | use Icinga\Application\Config; |
| 8 | +use Icinga\Application\Hook\RequestHook; |
| 9 | +use Icinga\Application\Modules\Module; |
18 | 10 | use Icinga\Authentication\Auth; |
| 11 | +use Icinga\Common\PdfExport; |
19 | 12 | use Icinga\Exception\Http\HttpMethodNotAllowedException; |
20 | 13 | use Icinga\Exception\IcingaException; |
21 | 14 | use Icinga\Exception\ProgrammingError; |
| 15 | +use Icinga\File\Pdf; |
22 | 16 | use Icinga\Forms\AutoRefreshForm; |
23 | 17 | use Icinga\Security\SecurityException; |
| 18 | +use Icinga\Util\Csp; |
24 | 19 | use Icinga\Web\Session; |
25 | 20 | use Icinga\Web\Url; |
26 | 21 | use Icinga\Web\UrlParams; |
| 22 | +use Icinga\Web\View; |
27 | 23 | use Icinga\Web\Widget\Tabs; |
28 | 24 | use Icinga\Web\Window; |
| 25 | +use ipl\I18n\Translation; |
| 26 | +use Zend_Controller_Action; |
| 27 | +use Zend_Controller_Action_HelperBroker; |
| 28 | +use Zend_Controller_Request_Abstract; |
| 29 | +use Zend_Controller_Response_Abstract; |
29 | 30 |
|
30 | 31 | /** |
31 | 32 | * Base class for all core action controllers |
@@ -520,6 +521,8 @@ public function postDispatch() |
520 | 521 |
|
521 | 522 | if ($this->isXhr()) { |
522 | 523 | $this->postDispatchXhr(); |
| 524 | + } else { |
| 525 | + RequestHook::postDispatch($req); |
523 | 526 | } |
524 | 527 |
|
525 | 528 | $this->shutdownSession(); |
|
0 commit comments