#10324 fixed delete element in favmenu

This commit is contained in:
Daniel Cebrian 2023-02-27 10:07:35 +01:00
parent 4917b40d10
commit 08fb4e3396
5 changed files with 0 additions and 5 deletions

View File

@ -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',
]

View File

@ -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',
]

View File

@ -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',
]

View File

@ -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',
]

View File

@ -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',
]