test push

This commit is contained in:
Arthur 2019-02-21 18:21:49 +01:00
parent 3b0c15e6ca
commit 9bbbb5b629

View file

@ -2,11 +2,11 @@
require_once 'classes/dao.php';
function get_total_points($team)
{
$dao = new Dao('');
//$dao = new Dao('');
$points = 0;
foreach ($dao->get_score_team($team) as $row) {
$points += $row['points'];
}
//foreach ($dao->get_score_team($team) as $row) {
// $points += $row['points'];
//}
return $points;
}