(health) add some comments

This commit is contained in:
Ad Schellevis 2016-02-21 18:36:02 +01:00
parent 731d5ab600
commit 71bd852ff6

View File

@ -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]);