- // updateTeam validates user input and updates the team with new information.
- function updateTeam($team_id, $fields) {
- if (!$this->validateTeamInfo($fields)) return false; // Can't continue as user input is invalid.
+ // updateGroup validates user input and updates the group with new information.
+ function updateGroup($team_id, $fields) {
+ if (!$this->validateGroupInfo($fields)) return false; // Can't continue as user input is invalid.