removed map link from mysql/oracle/RDS discovery tasks

Former-commit-id: c01ca25dbe4ca16265a6377d80f60f6d603b7664
This commit is contained in:
fbsanchez 2019-04-15 13:03:11 +02:00
parent 6648e0268a
commit 072fec3dd1
1 changed files with 5 additions and 1 deletions

View File

@ -549,7 +549,11 @@ class DiscoveryTaskList extends Wizard
$data[9] .= '</a>';
}
if ($task['disabled'] != 2 && $task['utimestamp'] > 0) {
if ($task['disabled'] != 2 && $task['utimestamp'] > 0
&& $task['type'] != DISCOVERY_APP_MYSQL
&& $task['type'] != DISCOVERY_APP_ORACLE
&& $task['type'] != DISCOVERY_CLOUD_AWS_RDS
) {
$data[9] .= '<a href="#" onclick="show_map('.$task['id_rt'].',\''.$task['name'].'\')">';
$data[9] .= html_print_image(
'images/dynamic_network_icon.png',