monitoring: Remove unnecessary use w/ backlash in DeleteDowntimeCommandForm

refs #9449
This commit is contained in:
Eric Lippmann 2015-07-28 12:44:27 +02:00
parent ec07da6c5e
commit 9bd31f70e2
1 changed files with 5 additions and 5 deletions

View File

@ -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);