#10324 fixed delete element in favmenu
This commit is contained in:
parent
4917b40d10
commit
08fb4e3396
|
@ -200,7 +200,6 @@ if ($delete_layout || $copy_layout) {
|
|||
db_process_sql_delete(
|
||||
'tfavmenu_user',
|
||||
[
|
||||
'id_user' => $config['id_user'],
|
||||
'id_element' => $id_layout,
|
||||
'section' => 'Visual_Console',
|
||||
]
|
||||
|
|
|
@ -2737,7 +2737,6 @@ function agents_delete_agent($id_agents, $disableACL=false)
|
|||
db_process_sql_delete(
|
||||
'tfavmenu_user',
|
||||
[
|
||||
'id_user' => $config['id_user'],
|
||||
'id_element' => $id_agent,
|
||||
'section' => 'Agents',
|
||||
]
|
||||
|
|
|
@ -237,7 +237,6 @@ function reports_delete_report($id_report)
|
|||
db_process_sql_delete(
|
||||
'tfavmenu_user',
|
||||
[
|
||||
'id_user' => $config['id_user'],
|
||||
'id_element' => $id_report,
|
||||
'section' => 'Reporting',
|
||||
]
|
||||
|
|
|
@ -573,7 +573,6 @@ class Manager implements PublicLogin
|
|||
\db_process_sql_delete(
|
||||
'tfavmenu_user',
|
||||
[
|
||||
'id_user' => $config['id_user'],
|
||||
'id_element' => $this->dashboardId,
|
||||
'section' => 'Dashboard',
|
||||
]
|
||||
|
|
|
@ -552,7 +552,6 @@ else if ($update_networkmap || $copy_networkmap || $delete) {
|
|||
db_process_sql_delete(
|
||||
'tfavmenu_user',
|
||||
[
|
||||
'id_user' => $config['id_user'],
|
||||
'id_element' => $id,
|
||||
'section' => 'Network_map',
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue