Merge branch 'ent-10891-no-tenemos-local-components-en-open' into 'develop'

Ent 10891 no tenemos local components en open

See merge request artica/pandorafms!5685
This commit is contained in:
Daniel Rodriguez 2023-04-11 12:26:31 +00:00
commit 57c6788a19
2 changed files with 2 additions and 3 deletions

View File

@ -177,9 +177,8 @@ if ($access_console_node === true) {
$sub2['godmode/modules/manage_module_templates']['text'] = __('Module templates');
$sub2['godmode/modules/manage_module_templates']['id'] = 'module_templates';
$sub2['godmode/modules/private_enterprise_numbers']['text'] = __('Private Enterprise Numbers');
enterprise_hook('local_components_menu');
$sub2['godmode/modules/private_enterprise_numbers']['id'] = 'private_Enterprise_Numbers';
$sub2['enterprise/godmode/modules/local_components']['text'] = __('Local components');
$sub2['enterprise/godmode/modules/local_components']['id'] = 'local_components';
$sub2['godmode/modules/manage_network_components']['text'] = __('Remote components');
$sub2['godmode/modules/manage_network_components']['id'] = 'network_components';
$sub['templates']['sub2'] = $sub2;

View File

@ -1315,7 +1315,7 @@ if ($searchPage) {
true,
$sec2,
]
) == false
) === ENTERPRISE_NOT_HOOK
) {
include 'general/noaccess.php';
} else {