mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 08:14:38 +02:00
11944 adding patch 773.2 changes on develop
This commit is contained in:
parent
9e747e9952
commit
27e37f6897
@ -4,7 +4,7 @@
|
|||||||
%global __os_install_post %{nil}
|
%global __os_install_post %{nil}
|
||||||
%define name pandorafms_agent_linux_bin
|
%define name pandorafms_agent_linux_bin
|
||||||
%define source_name pandorafms_agent_linux
|
%define source_name pandorafms_agent_linux
|
||||||
%define version 7.0NG.773
|
%define version 7.0NG.773.2
|
||||||
%define release 230725
|
%define release 230725
|
||||||
|
|
||||||
Summary: Pandora FMS Linux agent, binary version
|
Summary: Pandora FMS Linux agent, binary version
|
||||||
|
@ -2760,6 +2760,17 @@ function agents_delete_agent($id_agents, $disableACL=false)
|
|||||||
enterprise_include_once('include/functions_agents.php');
|
enterprise_include_once('include/functions_agents.php');
|
||||||
enterprise_hook('agent_delete_from_cache', [$id_agent]);
|
enterprise_hook('agent_delete_from_cache', [$id_agent]);
|
||||||
|
|
||||||
|
|
||||||
|
// Delete agent from fav menu.
|
||||||
|
db_process_sql_delete(
|
||||||
|
'tfavmenu_user',
|
||||||
|
[
|
||||||
|
'id_element' => $id_agent,
|
||||||
|
'section' => 'Agents',
|
||||||
|
'id_user' => $config['id_user'],
|
||||||
|
]
|
||||||
|
);
|
||||||
|
|
||||||
// Break the loop on error.
|
// Break the loop on error.
|
||||||
if ((bool) $error === true) {
|
if ((bool) $error === true) {
|
||||||
break;
|
break;
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
#
|
#
|
||||||
%global __os_install_post %{nil}
|
%global __os_install_post %{nil}
|
||||||
%define name pandorafms_server
|
%define name pandorafms_server
|
||||||
%define version 7.0NG.773
|
%define version 7.0NG.773.2
|
||||||
%define release 230814
|
%define release 230814
|
||||||
|
|
||||||
Summary: Pandora FMS Server
|
Summary: Pandora FMS Server
|
||||||
|
Loading…
x
Reference in New Issue
Block a user