Merge branch 'ent-5619-se-muestran-2-veces-el-mensaje-de-realizado' into 'develop'

duplicated enable/disable message

See merge request artica/pandorafms!3128
This commit is contained in:
Daniel Rodriguez 2020-05-08 15:38:24 +02:00
commit b655094f3a
1 changed files with 0 additions and 12 deletions

View File

@ -1901,12 +1901,6 @@ if ($enable_module) {
'Fail to enable #'.$enable_module.' | '.$module_name.' | '.$agent['alias']
);
}
ui_print_result_message(
$result,
__('Successfully enabled'),
__('Could not be enabled')
);
}
if ($disable_module) {
@ -1942,12 +1936,6 @@ if ($disable_module) {
'Fail to disable #'.$disable_module.' | '.$module_name.' | '.$agent['alias']
);
}
ui_print_result_message(
$result,
__('Successfully disabled'),
__('Could not be disabled')
);
}
// Fix to stop the module from being added to the agent's conf