mirror of https://github.com/Icinga/icinga2.git
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;
|
||||
}
|
||||
|
||||
String CompatUtility::GetCustomAttributeConfig(const CustomVarObject::Ptr& object, const String& name)
|
||||
{
|
||||
Dictionary::Ptr vars = object->GetVars();
|
||||
|
||||
if (!vars)
|
||||
return Empty;
|
||||
|
||||
return vars->Get(name);
|
||||
}
|
||||
|
||||
/* notifications */
|
||||
int CompatUtility::GetCheckableNotificationLastNotification(const Checkable::Ptr& checkable)
|
||||
{
|
||||
|
|
|
@ -79,7 +79,6 @@ public:
|
|||
static std::set<UserGroup::Ptr> GetCheckableNotificationUserGroups(const Checkable::Ptr& checkable);
|
||||
|
||||
/* custom attribute */
|
||||
static String GetCustomAttributeConfig(const CustomVarObject::Ptr& object, const String& name);
|
||||
static Dictionary::Ptr GetCustomAttributeConfig(const CustomVarObject::Ptr& object);
|
||||
|
||||
/* check result */
|
||||
|
|
Loading…
Reference in New Issue