Merge branch 'ent-8856-no-funciona-crear-componentes-en-metaconsola-api-2' into 'develop'

Ent 8856 no funciona crear componentes en metaconsola api 2

See merge request artica/pandorafms!4955
This commit is contained in:
Daniel Rodriguez 2022-06-16 06:42:38 +00:00
commit d57394c0b9
1 changed files with 3 additions and 3 deletions

View File

@ -5116,7 +5116,7 @@ function api_set_update_snmp_module($id_module, $thrash1, $other, $thrash3)
function api_set_new_network_component($id, $thrash1, $other, $thrash2)
{
global $config;
if (is_metaconsole() === true) {
if (defined('METACONSOLE')) {
return;
}
@ -5218,7 +5218,7 @@ function api_set_new_plugin_component($id, $thrash1, $other, $thrash2)
{
global $config;
if (is_metaconsole() === true) {
if (defined('METACONSOLE')) {
return;
}
@ -5498,7 +5498,7 @@ function api_set_new_local_component($id, $thrash1, $other, $thrash2)
{
global $config;
if (is_metaconsole() === true) {
if (defined('METACONSOLE')) {
return;
}