parent
ffa5da86c9
commit
a8179507dc
|
@ -177,7 +177,7 @@ class IcingaCommand extends IcingaObject
|
|||
self::$pluginDir = $pluginDir;
|
||||
}
|
||||
|
||||
protected function getLegacyObjectType()
|
||||
public function getLegacyObjectType()
|
||||
{
|
||||
// there is only one type of command in Icinga 1.x
|
||||
return 'command';
|
||||
|
|
|
@ -1955,7 +1955,7 @@ abstract class IcingaObject extends DbObject implements IcingaConfigRenderer
|
|||
);
|
||||
}
|
||||
|
||||
protected function getLegacyObjectType()
|
||||
public function getLegacyObjectType()
|
||||
{
|
||||
return strtolower($this->getType());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue