Commit 9374fda5 authored by Ad Schellevis's avatar Ad Schellevis Committed by Franco Fichtner

(health) add some comments

(cherry picked from commit 71bd852f)
parent aa12ce4a
......@@ -567,6 +567,8 @@ class SystemhealthController extends ApiControllerBase
$inverse = false;
}
// The zoom (timespan) level determines the number of datasets to
// use in the equation. All the irrelevant sets are removed here.
if ((int)$detail >= 0) {
for ($count = count($xml->rra) - 1; $count > $detail; $count--) {
unset($xml->rra[$count]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment