Commit 71bd852f authored by Ad Schellevis's avatar Ad Schellevis

(health) add some comments

parent 731d5ab6
......@@ -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