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

View File

@ -4,7 +4,7 @@
namespace Icinga\Module\Monitoring\Forms\Command\Object; namespace Icinga\Module\Monitoring\Forms\Command\Object;
use Icinga\Module\Monitoring\Command\Object\DeleteDowntimeCommand; 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; use Icinga\Web\Notification;
/** /**
@ -20,7 +20,7 @@ class DeleteDowntimeCommandForm extends CommandForm
{ {
$this->setAttrib('class', 'inline'); $this->setAttrib('class', 'inline');
} }
/** /**
* (non-PHPDoc) * (non-PHPDoc)
* @see \Icinga\Web\Form::createElements() For the method documentation. * @see \Icinga\Web\Form::createElements() For the method documentation.
@ -57,7 +57,7 @@ class DeleteDowntimeCommandForm extends CommandForm
); );
return $this; return $this;
} }
/** /**
* (non-PHPDoc) * (non-PHPDoc)
* @see \Icinga\Web\Form::addSubmitButton() For the method documentation. * @see \Icinga\Web\Form::addSubmitButton() For the method documentation.
@ -79,7 +79,7 @@ class DeleteDowntimeCommandForm extends CommandForm
); );
return $this; return $this;
} }
/** /**
* (non-PHPDoc) * (non-PHPDoc)
* @see \Icinga\Web\Form::onSuccess() For the method documentation. * @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->setDowntimeId($this->getElement('downtime_id')->getValue());
$cmd->setIsService($this->getElement('downtime_is_service')->getValue()); $cmd->setIsService($this->getElement('downtime_is_service')->getValue());
$this->getTransport($this->request)->send($cmd); $this->getTransport($this->request)->send($cmd);
$redirect = $this->getElement('redirect')->getValue(); $redirect = $this->getElement('redirect')->getValue();
if (! empty($redirect)) { if (! empty($redirect)) {
$this->setRedirectUrl($redirect); $this->setRedirectUrl($redirect);