mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2025-12-28 10:09:33 -05:00
Node: remove toLegacyConfigString
This commit is contained in:
parent
791a0286b8
commit
0aeb3183f4
2 changed files with 1 additions and 8 deletions
|
|
@ -334,13 +334,6 @@ abstract class Node
|
||||||
return ' ';
|
return ' ';
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: Why isn't this abstract?
|
|
||||||
// abstract public function toLegacyConfigString();
|
|
||||||
public function toLegacyConfigString(& $rendered = array())
|
|
||||||
{
|
|
||||||
return '';
|
|
||||||
}
|
|
||||||
|
|
||||||
public function getName()
|
public function getName()
|
||||||
{
|
{
|
||||||
return $this->name;
|
return $this->name;
|
||||||
|
|
|
||||||
|
|
@ -191,7 +191,7 @@ class LegacyStorage extends Storage
|
||||||
$rendered = array();
|
$rendered = array();
|
||||||
$conf = '';
|
$conf = '';
|
||||||
|
|
||||||
foreach ($bp->getChildren() as $child) {
|
foreach ($bp->getRootNodes() as $child) {
|
||||||
$conf .= $child->toLegacyConfigString($rendered);
|
$conf .= $child->toLegacyConfigString($rendered);
|
||||||
$rendered[$child->getName()] = true;
|
$rendered[$child->getName()] = true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue