forked from vergnet/site-accueil-insa
test push
This commit is contained in:
parent
3b0c15e6ca
commit
9bbbb5b629
1 changed files with 4 additions and 4 deletions
|
@ -2,11 +2,11 @@
|
||||||
require_once 'classes/dao.php';
|
require_once 'classes/dao.php';
|
||||||
function get_total_points($team)
|
function get_total_points($team)
|
||||||
{
|
{
|
||||||
$dao = new Dao('');
|
//$dao = new Dao('');
|
||||||
$points = 0;
|
$points = 0;
|
||||||
foreach ($dao->get_score_team($team) as $row) {
|
//foreach ($dao->get_score_team($team) as $row) {
|
||||||
$points += $row['points'];
|
// $points += $row['points'];
|
||||||
}
|
//}
|
||||||
return $points;
|
return $points;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue