#11843 fixed legacy for apps
This commit is contained in:
parent
236ad09ad6
commit
88dbd5a206
|
@ -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']
|
||||
),
|
||||
|
|
Loading…
Reference in New Issue