diff --git a/index.php b/index.php index 97d83ff..3a35e98 100755 --- a/index.php +++ b/index.php @@ -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; }