mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-28 08:04:14 +02:00
Move new downtime constants into the Icinga namespace
This commit is contained in:
parent
e4e28421e8
commit
17c7131177
@ -46,9 +46,9 @@ INITIALIZE_ONCE(&Downtime::StaticInitialize);
|
|||||||
|
|
||||||
void Downtime::StaticInitialize()
|
void Downtime::StaticInitialize()
|
||||||
{
|
{
|
||||||
ScriptGlobal::Set("DowntimeNoChildren", "DowntimeNoChildren");
|
ScriptGlobal::Set("Icinga.DowntimeNoChildren", "DowntimeNoChildren", true);
|
||||||
ScriptGlobal::Set("DowntimeTriggeredChildren", "DowntimeTriggeredChildren");
|
ScriptGlobal::Set("Icinga.DowntimeTriggeredChildren", "DowntimeTriggeredChildren", true);
|
||||||
ScriptGlobal::Set("DowntimeNonTriggeredChildren", "DowntimeNonTriggeredChildren");
|
ScriptGlobal::Set("Icinga.DowntimeNonTriggeredChildren", "DowntimeNonTriggeredChildren", true);
|
||||||
}
|
}
|
||||||
|
|
||||||
String DowntimeNameComposer::MakeName(const String& shortName, const Object::Ptr& context) const
|
String DowntimeNameComposer::MakeName(const String& shortName, const Object::Ptr& context) const
|
||||||
|
Loading…
x
Reference in New Issue
Block a user