mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 01:05:39 +02:00
duplicated enable/disable message
This commit is contained in:
parent
29cac0477e
commit
a2ee59e5b0
@ -1901,12 +1901,6 @@ if ($enable_module) {
|
|||||||
'Fail to enable #'.$enable_module.' | '.$module_name.' | '.$agent['alias']
|
'Fail to enable #'.$enable_module.' | '.$module_name.' | '.$agent['alias']
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
ui_print_result_message(
|
|
||||||
$result,
|
|
||||||
__('Successfully enabled'),
|
|
||||||
__('Could not be enabled')
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($disable_module) {
|
if ($disable_module) {
|
||||||
@ -1942,12 +1936,6 @@ if ($disable_module) {
|
|||||||
'Fail to disable #'.$disable_module.' | '.$module_name.' | '.$agent['alias']
|
'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
|
// Fix to stop the module from being added to the agent's conf
|
||||||
|
Loading…
x
Reference in New Issue
Block a user