Fixed snapshot view in metaconsole
This commit is contained in:
parent
20a3d6c3be
commit
024a1cc1ee
|
@ -1685,7 +1685,8 @@ class Tree {
|
|||
$module['snapshot'] = ui_get_snapshot_link(array(
|
||||
'id_module' => $module['id'],
|
||||
'interval' => $module['current_interval'],
|
||||
'module_name' => $module['name']
|
||||
'module_name' => $module['name'],
|
||||
'id_node' => $module['serverID'] ? $module['serverID'] : 0,
|
||||
), true);
|
||||
}
|
||||
|
||||
|
|
|
@ -52,10 +52,6 @@ if ($id_node > 0) {
|
|||
$row_module = modules_get_agentmodule($id);
|
||||
$row_state = db_get_row('tagente_estado', 'id_agente_modulo', $id);
|
||||
|
||||
if ($id_node > 0) {
|
||||
metaconsole_restore_db();
|
||||
}
|
||||
|
||||
// Build the info
|
||||
$label = get_parameter ("label", io_safe_output($row_module['module_name']));
|
||||
$last_timestamp = get_parameter("timestamp", $row_state['timestamp']);
|
||||
|
|
Loading…
Reference in New Issue