mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 00:34:46 +02:00
2014-07-08 Hirofumi Kosaka <kosaka@rworks.jp>
* include/functions_api.php: Fixed that 'set enable_module' had not worked. MERGED FROM BRANCH 5.0 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10323 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
7bc036aafe
commit
a73cf5731f
@ -1,3 +1,10 @@
|
||||
2014-07-08 Hirofumi Kosaka <kosaka@rworks.jp>
|
||||
|
||||
* include/functions_api.php: Fixed that 'set enable_module'
|
||||
had not worked.
|
||||
|
||||
MERGED FROM BRANCH 5.0
|
||||
|
||||
2014-07-07 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* include/functions_visual_map.php: show in the tooltip of
|
||||
|
@ -6064,7 +6064,7 @@ function api_set_enable_module ($agent_name, $module_name, $thrast3, $thrash4) {
|
||||
$id_agent = agents_get_agent_id($agent_name);
|
||||
$id_agent_module = db_get_value_filter('id_agente_modulo', 'tagente_modulo', array('id_agente' => $id_agent, 'nombre' => $module_name));
|
||||
|
||||
$result = modules_change_disabled($id_agent_module, 1);
|
||||
$result = modules_change_disabled($id_agent_module, 0);
|
||||
|
||||
if ($result === NOERR) {
|
||||
returnData('string', array('type' => 'string', 'data' => __('Correct module enable')));
|
||||
|
Loading…
x
Reference in New Issue
Block a user