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\DocTocRenderer;
|
||||
use Icinga\Web\Controller\ModuleActionController;
|
||||
use Icinga\Web\Controller;
|
||||
|
||||
class DocController extends ModuleActionController
|
||||
class DocController extends Controller
|
||||
{
|
||||
/**
|
||||
* Render a chapter
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
use Icinga\Web\Notification;
|
||||
use Icinga\Data\ResourceFactory;
|
||||
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\InstanceConfigForm;
|
||||
use Icinga\Module\Monitoring\Forms\Config\SecurityConfigForm;
|
||||
|
@ -12,7 +12,7 @@ use Icinga\Module\Monitoring\Forms\Config\SecurityConfigForm;
|
|||
/**
|
||||
* Configuration controller for editing monitoring resources
|
||||
*/
|
||||
class Monitoring_ConfigController extends ModuleActionController
|
||||
class Monitoring_ConfigController extends Controller
|
||||
{
|
||||
/**
|
||||
* Display a list of available backends and instances
|
||||
|
|
|
@ -6,13 +6,13 @@ namespace Icinga\Module\Monitoring;
|
|||
use Icinga\Data\Filter\Filter;
|
||||
use Icinga\Data\Filterable;
|
||||
use Icinga\File\Csv;
|
||||
use Icinga\Web\Controller\ModuleActionController;
|
||||
use Icinga\Web\Controller as IcingaWebController;
|
||||
use Icinga\Web\Url;
|
||||
|
||||
/**
|
||||
* Base class for all monitoring action controller
|
||||
*/
|
||||
class Controller extends ModuleActionController
|
||||
class Controller extends IcingaWebController
|
||||
{
|
||||
/**
|
||||
* The backend used for this controller
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
<?php
|
||||
/* Icinga Web 2 | (c) 2013-2015 Icinga Development Team | GPLv2+ */
|
||||
|
||||
use Icinga\Web\Controller\ModuleActionController;
|
||||
use Icinga\Web\Controller;
|
||||
use Icinga\Module\Setup\WebWizard;
|
||||
|
||||
class Setup_IndexController extends ModuleActionController
|
||||
class Setup_IndexController extends Controller
|
||||
{
|
||||
/**
|
||||
* Whether the controller requires the user to be authenticated
|
||||
|
|
Loading…
Reference in New Issue