mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-28 00:04:05 +02:00
library: code style
This commit is contained in:
parent
ed4f34272b
commit
8b3d72a04a
@ -1385,7 +1385,10 @@ abstract class IcingaObject extends DbObject implements IcingaConfigRenderer
|
|||||||
}
|
}
|
||||||
|
|
||||||
foreach ($this->relatedSets() as $property => $set) {
|
foreach ($this->relatedSets() as $property => $set) {
|
||||||
if ($set->isEmpty()) { continue; }
|
if ($set->isEmpty()) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
$props[$property] = $set->getPlainUnmodifiedObject();
|
$props[$property] = $set->getPlainUnmodifiedObject();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1000,6 +1000,7 @@ abstract class DirectorObjectForm extends QuickForm
|
|||||||
return $tpl;
|
return $tpl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: deprecate
|
||||||
protected function enumStateFilters()
|
protected function enumStateFilters()
|
||||||
{
|
{
|
||||||
return array(
|
return array(
|
||||||
@ -1034,7 +1035,7 @@ abstract class DirectorObjectForm extends QuickForm
|
|||||||
'FlappingStart' => $this->translate('Flapping ends'),
|
'FlappingStart' => $this->translate('Flapping ends'),
|
||||||
'FlappingEnd' => $this->translate('Flapping starts')
|
'FlappingEnd' => $this->translate('Flapping starts')
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
private function dummyForTranslation()
|
private function dummyForTranslation()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user