monitoring/commands: Let `ToggleFeatureCommandForm' extend `CommandForm'

`InstanceCommandForm' was renamed to `CommandForm'.

efs #659
This commit is contained in:
Eric Lippmann 2014-09-02 09:57:15 +02:00
parent c27c5690ba
commit ae180166b3
1 changed files with 3 additions and 2 deletions

View File

@ -4,13 +4,14 @@
namespace Icinga\Module\Monitoring\Form\Command\Instance;
use Icinga\Module\Monitoring\Form\Command\CommandForm;
use Icinga\Web\Notification;
use Icinga\Web\Request;
/**
* Base class for forms enabling/disabling features of an Icinga instance
*/
abstract class ToggleFeatureCommandForm extends InstanceCommandForm
abstract class ToggleFeatureCommandForm extends CommandForm
{
/**
* @var string
@ -25,7 +26,7 @@ abstract class ToggleFeatureCommandForm extends InstanceCommandForm
/**
* 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();