mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
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("Environment", "production");
|
||||
|
||||
ScriptGlobal::Set("System.PlatformKernel", Utility::GetPlatformKernel(), true);
|
||||
ScriptGlobal::Set("System.PlatformKernelVersion", Utility::GetPlatformKernelVersion(), true);
|
||||
ScriptGlobal::Set("System.PlatformName", Utility::GetPlatformName(), true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user