mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2026-02-04 01:09:25 -05:00
Remove comment and fix codestyle
This commit is contained in:
parent
c1cb7612c0
commit
d9808ae9b7
1 changed files with 3 additions and 13 deletions
|
|
@ -53,7 +53,7 @@ class EditNodeForm extends QuickForm
|
|||
if ($this->isService()) {
|
||||
$monitoredNodeType = 'service';
|
||||
} else {
|
||||
$monitoredNodeType = 'host';
|
||||
$monitoredNodeType = 'host';
|
||||
}
|
||||
|
||||
$type = $this->selectNodeType($monitoredNodeType);
|
||||
|
|
@ -74,20 +74,10 @@ class EditNodeForm extends QuickForm
|
|||
$this->setSubmitLabel($this->translate('Next'));
|
||||
return;
|
||||
}
|
||||
/*
|
||||
$this->getElement('name')->setValue($this->getNode()->getName());
|
||||
if ($node->hasAlias()) {
|
||||
$this->getElement('alias')->setValue($this->getNode()->getAlias());
|
||||
}
|
||||
$this->getElement('operator')->setValue($this->getNode()->getOperator());
|
||||
$this->getElement('display')->setValue($this->getNode()->getDisplay());
|
||||
if ($node->hasInfoUrl()) {
|
||||
$this->getElement('url')->setValue($this->getNode()->getInfoUrl());
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
protected function isService() {
|
||||
protected function isService()
|
||||
{
|
||||
if (strpos($this->getNode()->getName(), ';Hoststatus')) {
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue