To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit 0185e580 authored by Reto Da Forno's avatar Reto Da Forno
Browse files

copy paste errors fixed in statistics script

parent 2593ca10
......@@ -144,7 +144,7 @@ function collect_stats($filename, $monthly)
$dpp2testcnt = $dpp2testcnt + $row['c'];
} else if ($row['pname'] == 'nRF5') {
$nrftests_per_year[$year] = round($row['c'] * 100 / $tests_per_year[$year]);
$nrftestcnt = $dpptestcnt + $row['c'];
$nrftestcnt = $nrftestcnt + $row['c'];
}
}
// Tests by service
......@@ -193,7 +193,7 @@ function collect_stats($filename, $monthly)
} else if ($row['pname'] == 'DPP2LoRa') {
$dpp2users_per_year[$year] = round($row['c'] / $num_users * 100);
} else if ($row['pname'] == 'nRF5') {
$dpp2users_per_year[$year] = round($row['c'] / $num_users * 100);
$nrfusers_per_year[$year] = round($row['c'] / $num_users * 100);
}
}
......
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