From 88dbd5a2060ba0f8e080b5df945d9c83c24ced40 Mon Sep 17 00:00:00 2001 From: Jorge Rincon Date: Fri, 11 Aug 2023 12:33:29 +0200 Subject: [PATCH] #11843 fixed legacy for apps --- .../include/class/ExtensionsDiscovery.class.php | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/pandora_console/include/class/ExtensionsDiscovery.class.php b/pandora_console/include/class/ExtensionsDiscovery.class.php index 6b3af5f757..da26fb1780 100644 --- a/pandora_console/include/class/ExtensionsDiscovery.class.php +++ b/pandora_console/include/class/ExtensionsDiscovery.class.php @@ -210,18 +210,9 @@ class ExtensionsDiscovery extends Wizard $logo = $this->defaultLogo; } - // Get type of task. - $task = db_get_row( - 'trecon_task', - 'id_app', - $extension['id_app'] - ); - - $task_type = (integer) $task['type']; - $extension_name = ($task_type == DISCOVERY_EXTENSION) ? $extension['name'] : $extension['name'].' (legacy)'; $extensions[] = [ 'icon' => $logo, - 'label' => $extension_name, + 'label' => $extension['name'], 'url' => ui_get_full_url( 'index.php?sec=gservers&sec2=godmode/servers/discovery&wiz='.$this->section.'&mode='.$extension['short_name'] ),