mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-25 22:54:57 +02:00
Merge pull request #6574 from gunnarbeutner/fix/move-downtime-constants
Move new downtime constants into the Icinga namespace
This commit is contained in:
commit
f0c9098a28
@ -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