mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-25 22:54:57 +02:00
Drop dead CompatUtility::GetCustomAttributeConfig
This commit is contained in:
parent
cbea0c13f5
commit
b5f5d167dc
@ -244,16 +244,6 @@ Dictionary::Ptr CompatUtility::GetCustomAttributeConfig(const CustomVarObject::P
|
|||||||
return vars;
|
return vars;
|
||||||
}
|
}
|
||||||
|
|
||||||
String CompatUtility::GetCustomAttributeConfig(const CustomVarObject::Ptr& object, const String& name)
|
|
||||||
{
|
|
||||||
Dictionary::Ptr vars = object->GetVars();
|
|
||||||
|
|
||||||
if (!vars)
|
|
||||||
return Empty;
|
|
||||||
|
|
||||||
return vars->Get(name);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* notifications */
|
/* notifications */
|
||||||
int CompatUtility::GetCheckableNotificationLastNotification(const Checkable::Ptr& checkable)
|
int CompatUtility::GetCheckableNotificationLastNotification(const Checkable::Ptr& checkable)
|
||||||
{
|
{
|
||||||
|
@ -79,7 +79,6 @@ public:
|
|||||||
static std::set<UserGroup::Ptr> GetCheckableNotificationUserGroups(const Checkable::Ptr& checkable);
|
static std::set<UserGroup::Ptr> GetCheckableNotificationUserGroups(const Checkable::Ptr& checkable);
|
||||||
|
|
||||||
/* custom attribute */
|
/* custom attribute */
|
||||||
static String GetCustomAttributeConfig(const CustomVarObject::Ptr& object, const String& name);
|
|
||||||
static Dictionary::Ptr GetCustomAttributeConfig(const CustomVarObject::Ptr& object);
|
static Dictionary::Ptr GetCustomAttributeConfig(const CustomVarObject::Ptr& object);
|
||||||
|
|
||||||
/* check result */
|
/* check result */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user