mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 07:44:04 +02:00
monitoring/commands: Let ToggleFeatureCommandForm' extend
CommandForm'
`InstanceCommandForm' was renamed to `CommandForm'. efs #659
This commit is contained in:
parent
c27c5690ba
commit
ae180166b3
@ -4,13 +4,14 @@
|
|||||||
|
|
||||||
namespace Icinga\Module\Monitoring\Form\Command\Instance;
|
namespace Icinga\Module\Monitoring\Form\Command\Instance;
|
||||||
|
|
||||||
|
use Icinga\Module\Monitoring\Form\Command\CommandForm;
|
||||||
use Icinga\Web\Notification;
|
use Icinga\Web\Notification;
|
||||||
use Icinga\Web\Request;
|
use Icinga\Web\Request;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Base class for forms enabling/disabling features of an Icinga instance
|
* Base class for forms enabling/disabling features of an Icinga instance
|
||||||
*/
|
*/
|
||||||
abstract class ToggleFeatureCommandForm extends InstanceCommandForm
|
abstract class ToggleFeatureCommandForm extends CommandForm
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @var string
|
* @var string
|
||||||
@ -25,7 +26,7 @@ abstract class ToggleFeatureCommandForm extends InstanceCommandForm
|
|||||||
/**
|
/**
|
||||||
* Get the command which is to be sent to an Icinga instance
|
* Get the command which is to be sent to an Icinga instance
|
||||||
*
|
*
|
||||||
* @return \Icinga\Module\Monitoring\Command\IcingaCommand
|
* @return \Icinga\Module\Monitoring\Command\ToggleFeature
|
||||||
*/
|
*/
|
||||||
abstract public function getCommand();
|
abstract public function getCommand();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user