mirror of https://github.com/Icinga/icinga2.git
Merge pull request #6696 from Icinga/bugfix/remove-default-environment
Remove default environment, regression from e678fa1aa5
This commit is contained in:
commit
aa7201aaad
|
@ -301,8 +301,6 @@ static int Main()
|
||||||
|
|
||||||
ScriptGlobal::Set("MaxConcurrentChecks", Application::GetDefaultMaxConcurrentChecks());
|
ScriptGlobal::Set("MaxConcurrentChecks", Application::GetDefaultMaxConcurrentChecks());
|
||||||
|
|
||||||
ScriptGlobal::Set("Environment", "production");
|
|
||||||
|
|
||||||
ScriptGlobal::Set("System.PlatformKernel", Utility::GetPlatformKernel(), true);
|
ScriptGlobal::Set("System.PlatformKernel", Utility::GetPlatformKernel(), true);
|
||||||
ScriptGlobal::Set("System.PlatformKernelVersion", Utility::GetPlatformKernelVersion(), true);
|
ScriptGlobal::Set("System.PlatformKernelVersion", Utility::GetPlatformKernelVersion(), true);
|
||||||
ScriptGlobal::Set("System.PlatformName", Utility::GetPlatformName(), true);
|
ScriptGlobal::Set("System.PlatformName", Utility::GetPlatformName(), true);
|
||||||
|
|
Loading…
Reference in New Issue