function recalculateScores($structure) { Standings::resetScores($this->name); $matches2 = $this->getRoundMatches("ALL"); foreach ($matches2 as $match) { //echo "about to update scores"; $match->fixScores($structure); } }