mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-29 00:34:03 +02:00
Inherit from Icinga\Web\Controller rather than from Icinga\Web\Controller\ModuleActionController
This commit is contained in:
parent
1835479738
commit
20b09d3bda
@ -5,9 +5,9 @@ namespace Icinga\Module\Doc;
|
|||||||
|
|
||||||
use Icinga\Module\Doc\Renderer\DocSectionRenderer;
|
use Icinga\Module\Doc\Renderer\DocSectionRenderer;
|
||||||
use Icinga\Module\Doc\Renderer\DocTocRenderer;
|
use Icinga\Module\Doc\Renderer\DocTocRenderer;
|
||||||
use Icinga\Web\Controller\ModuleActionController;
|
use Icinga\Web\Controller;
|
||||||
|
|
||||||
class DocController extends ModuleActionController
|
class DocController extends Controller
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Render a chapter
|
* Render a chapter
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
use Icinga\Web\Notification;
|
use Icinga\Web\Notification;
|
||||||
use Icinga\Data\ResourceFactory;
|
use Icinga\Data\ResourceFactory;
|
||||||
use Icinga\Forms\ConfirmRemovalForm;
|
use Icinga\Forms\ConfirmRemovalForm;
|
||||||
use Icinga\Web\Controller\ModuleActionController;
|
use Icinga\Web\Controller;
|
||||||
use Icinga\Module\Monitoring\Forms\Config\BackendConfigForm;
|
use Icinga\Module\Monitoring\Forms\Config\BackendConfigForm;
|
||||||
use Icinga\Module\Monitoring\Forms\Config\InstanceConfigForm;
|
use Icinga\Module\Monitoring\Forms\Config\InstanceConfigForm;
|
||||||
use Icinga\Module\Monitoring\Forms\Config\SecurityConfigForm;
|
use Icinga\Module\Monitoring\Forms\Config\SecurityConfigForm;
|
||||||
@ -12,7 +12,7 @@ use Icinga\Module\Monitoring\Forms\Config\SecurityConfigForm;
|
|||||||
/**
|
/**
|
||||||
* Configuration controller for editing monitoring resources
|
* Configuration controller for editing monitoring resources
|
||||||
*/
|
*/
|
||||||
class Monitoring_ConfigController extends ModuleActionController
|
class Monitoring_ConfigController extends Controller
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Display a list of available backends and instances
|
* Display a list of available backends and instances
|
||||||
|
@ -6,13 +6,13 @@ namespace Icinga\Module\Monitoring;
|
|||||||
use Icinga\Data\Filter\Filter;
|
use Icinga\Data\Filter\Filter;
|
||||||
use Icinga\Data\Filterable;
|
use Icinga\Data\Filterable;
|
||||||
use Icinga\File\Csv;
|
use Icinga\File\Csv;
|
||||||
use Icinga\Web\Controller\ModuleActionController;
|
use Icinga\Web\Controller as IcingaWebController;
|
||||||
use Icinga\Web\Url;
|
use Icinga\Web\Url;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Base class for all monitoring action controller
|
* Base class for all monitoring action controller
|
||||||
*/
|
*/
|
||||||
class Controller extends ModuleActionController
|
class Controller extends IcingaWebController
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* The backend used for this controller
|
* The backend used for this controller
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
/* Icinga Web 2 | (c) 2013-2015 Icinga Development Team | GPLv2+ */
|
/* Icinga Web 2 | (c) 2013-2015 Icinga Development Team | GPLv2+ */
|
||||||
|
|
||||||
use Icinga\Web\Controller\ModuleActionController;
|
use Icinga\Web\Controller;
|
||||||
use Icinga\Module\Setup\WebWizard;
|
use Icinga\Module\Setup\WebWizard;
|
||||||
|
|
||||||
class Setup_IndexController extends ModuleActionController
|
class Setup_IndexController extends Controller
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Whether the controller requires the user to be authenticated
|
* Whether the controller requires the user to be authenticated
|
||||||
|
Loading…
x
Reference in New Issue
Block a user