parent
cb59c61d66
commit
b8b047a1e4
|
@ -413,7 +413,14 @@ constants
|
|||
public function getHostGroupObjects()
|
||||
{
|
||||
return $this->getDirectorObjects('HostGroup', 'HostGroup', 'hostgroups', array(
|
||||
'display_name' => 'display_name',
|
||||
'display_name' => 'display_name',
|
||||
));
|
||||
}
|
||||
|
||||
public function getUserGroupObjects()
|
||||
{
|
||||
return $this->getDirectorObjects('UserGroup', 'UserGroup', 'usergroups', array(
|
||||
'display_name' => 'display_name',
|
||||
));
|
||||
}
|
||||
|
||||
|
|
|
@ -62,6 +62,7 @@ class ImportSourceCoreApi extends ImportSourceHook
|
|||
'Host' => $form->translate('Hosts'),
|
||||
'HostGroup' => $form->translate('Hostgroups'),
|
||||
'User' => $form->translate('Users'),
|
||||
'UserGroup' => $form->translate('Usergroups'),
|
||||
'Zone' => $form->translate('Zones'),
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue