diff --git a/modules/monitoring/application/forms/Command/Object/DeleteDowntimeCommandForm.php b/modules/monitoring/application/forms/Command/Object/DeleteDowntimeCommandForm.php index 31ec778fa..395f90ad4 100644 --- a/modules/monitoring/application/forms/Command/Object/DeleteDowntimeCommandForm.php +++ b/modules/monitoring/application/forms/Command/Object/DeleteDowntimeCommandForm.php @@ -4,7 +4,7 @@ namespace Icinga\Module\Monitoring\Forms\Command\Object; use Icinga\Module\Monitoring\Command\Object\DeleteDowntimeCommand; -use \Icinga\Module\Monitoring\Forms\Command\CommandForm; +use Icinga\Module\Monitoring\Forms\Command\CommandForm; use Icinga\Web\Notification; /** @@ -20,7 +20,7 @@ class DeleteDowntimeCommandForm extends CommandForm { $this->setAttrib('class', 'inline'); } - + /** * (non-PHPDoc) * @see \Icinga\Web\Form::createElements() For the method documentation. @@ -57,7 +57,7 @@ class DeleteDowntimeCommandForm extends CommandForm ); return $this; } - + /** * (non-PHPDoc) * @see \Icinga\Web\Form::addSubmitButton() For the method documentation. @@ -79,7 +79,7 @@ class DeleteDowntimeCommandForm extends CommandForm ); return $this; } - + /** * (non-PHPDoc) * @see \Icinga\Web\Form::onSuccess() For the method documentation. @@ -90,7 +90,7 @@ class DeleteDowntimeCommandForm extends CommandForm $cmd->setDowntimeId($this->getElement('downtime_id')->getValue()); $cmd->setIsService($this->getElement('downtime_is_service')->getValue()); $this->getTransport($this->request)->send($cmd); - + $redirect = $this->getElement('redirect')->getValue(); if (! empty($redirect)) { $this->setRedirectUrl($redirect);