mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
CoreApi: fix method call
This commit is contained in:
parent
da909907fd
commit
6bcb4a461e
@ -315,7 +315,7 @@ class CoreApi implements DeploymentApiInterface
|
|||||||
"f = function() {\n"
|
"f = function() {\n"
|
||||||
. ' existing = get_%s("%s")'
|
. ' existing = get_%s("%s")'
|
||||||
. "\n if (existing) { return false }"
|
. "\n if (existing) { return false }"
|
||||||
. "\n%s\n}\n__run_with_activation_context(f)\n",
|
. "\n%s\n}\nInternal.run_with_activation_context(f)\n",
|
||||||
$key,
|
$key,
|
||||||
$object->get('object_name'),
|
$object->get('object_name'),
|
||||||
(string) $object
|
(string) $object
|
||||||
|
Loading…
x
Reference in New Issue
Block a user