Now the 'avg_only' option is enabled by default for the metaconsole users
This commit is contained in:
parent
3b06988082
commit
08d93c8b28
|
@ -1344,6 +1344,7 @@ class Tree {
|
|||
);
|
||||
|
||||
if (defined('METACONSOLE') && !empty($server)) {
|
||||
$graph_params["avg_only"] = 1;
|
||||
// Set the server id
|
||||
$graph_params["server"] = $module['serverID'];
|
||||
}
|
||||
|
|
|
@ -2081,6 +2081,7 @@ function events_page_details ($event, $server = "") {
|
|||
);
|
||||
|
||||
if (defined('METACONSOLE')) {
|
||||
$graph_params["avg_only"] = 1;
|
||||
// Set the server id
|
||||
$graph_params["server"] = $server["id"];
|
||||
}
|
||||
|
|
|
@ -1229,6 +1229,7 @@ foreach ($result as $row) {
|
|||
);
|
||||
|
||||
if (defined('METACONSOLE') && isset($row["server_id"])) {
|
||||
$graph_params["avg_only"] = 1;
|
||||
// Set the server id
|
||||
$graph_params["server"] = $row["server_id"];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue