1
0
mirror of https://gitlab.com/animath/si/plateforme-corres2math.git synced 2025-06-24 09:08:47 +02:00

Meilleur aperçu des équipes en retard

This commit is contained in:
Yohann
2020-01-01 21:11:28 +01:00
parent b44c789dc8
commit eb53514eb9
3 changed files with 14 additions and 3 deletions

View File

@ -199,6 +199,11 @@ class Team
$DB->prepare("UPDATE `teams` SET `validation_status` = ? WHERE `id` = ?;")->execute([ValidationStatus::getName($status), $this->id]);
}
public function getSolution()
{
return Video::getVideo(Reason::SOLUTION, $this);
}
public function getVideoTeamIds()
{
return $this->video_team_ids;