mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-30 09:14:09 +02:00
parent
ffa5da86c9
commit
a8179507dc
@ -177,7 +177,7 @@ class IcingaCommand extends IcingaObject
|
|||||||
self::$pluginDir = $pluginDir;
|
self::$pluginDir = $pluginDir;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function getLegacyObjectType()
|
public function getLegacyObjectType()
|
||||||
{
|
{
|
||||||
// there is only one type of command in Icinga 1.x
|
// there is only one type of command in Icinga 1.x
|
||||||
return 'command';
|
return 'command';
|
||||||
|
@ -1955,7 +1955,7 @@ abstract class IcingaObject extends DbObject implements IcingaConfigRenderer
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function getLegacyObjectType()
|
public function getLegacyObjectType()
|
||||||
{
|
{
|
||||||
return strtolower($this->getType());
|
return strtolower($this->getType());
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user