mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-09-25 10:57:41 +02:00
parent
b62b602f7d
commit
a9b3b2f47a
@ -327,7 +327,8 @@ class IcingaObjectImports implements Iterator, Countable, IcingaConfigRenderer
|
||||
|
||||
public static function loadForStoredObject(IcingaObject $object)
|
||||
{
|
||||
return (new static($object))->loadFromDb();
|
||||
$obj = new static($object);
|
||||
return $obj->loadFromDb();
|
||||
}
|
||||
|
||||
public function toConfigString()
|
||||
|
Loading…
x
Reference in New Issue
Block a user