Merge branch 'ent-9997-quitar-using-module-component-de-la-edicion-de-modulo' into 'develop'

Ent 9997 quitar using module component de la edicion de modulo

See merge request artica/pandorafms!5354
This commit is contained in:
Rafael Ameijeiras 2022-12-28 09:49:42 +00:00
commit 7c0b6330bd
4 changed files with 4 additions and 4 deletions

View File

@ -69,7 +69,7 @@ if (strstr($page, 'policy_modules') === false) {
define('ID_NETWORK_COMPONENT_TYPE', 2); define('ID_NETWORK_COMPONENT_TYPE', 2);
if (empty($update_module_id)) { if (empty($edit_module)) {
// Function in module_manager_editor_common.php. // Function in module_manager_editor_common.php.
add_component_selection(ID_NETWORK_COMPONENT_TYPE); add_component_selection(ID_NETWORK_COMPONENT_TYPE);
} }

View File

@ -36,7 +36,7 @@ if (strstr($page, 'policy_modules') === false) {
define('ID_NETWORK_COMPONENT_TYPE', 4); define('ID_NETWORK_COMPONENT_TYPE', 4);
if (empty($update_module_id)) { if (empty($edit_module)) {
// Function in module_manager_editor_common.php // Function in module_manager_editor_common.php
add_component_selection(ID_NETWORK_COMPONENT_TYPE); add_component_selection(ID_NETWORK_COMPONENT_TYPE);
} else { } else {

View File

@ -82,7 +82,7 @@ if ($plugin_pass == '' && !$id_agent_module) {
$plugin_pass = 1; $plugin_pass = 1;
} }
if (empty($update_module_id)) { if (empty($edit_module)) {
// Function in module_manager_editor_common.php // Function in module_manager_editor_common.php
add_component_selection(ID_NETWORK_COMPONENT_TYPE); add_component_selection(ID_NETWORK_COMPONENT_TYPE);
} else { } else {

View File

@ -34,7 +34,7 @@ $extra_title = __('WMI server module');
define('ID_NETWORK_COMPONENT_TYPE', 6); define('ID_NETWORK_COMPONENT_TYPE', 6);
if (empty($update_module_id)) { if (empty($edit_module)) {
// Function in module_manager_editor_common.php // Function in module_manager_editor_common.php
add_component_selection(ID_NETWORK_COMPONENT_TYPE); add_component_selection(ID_NETWORK_COMPONENT_TYPE);
} else { } else {