parent
b62b602f7d
commit
a9b3b2f47a
|
@ -327,7 +327,8 @@ class IcingaObjectImports implements Iterator, Countable, IcingaConfigRenderer
|
||||||
|
|
||||||
public static function loadForStoredObject(IcingaObject $object)
|
public static function loadForStoredObject(IcingaObject $object)
|
||||||
{
|
{
|
||||||
return (new static($object))->loadFromDb();
|
$obj = new static($object);
|
||||||
|
return $obj->loadFromDb();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function toConfigString()
|
public function toConfigString()
|
||||||
|
|
Loading…
Reference in New Issue