1
0
mirror of https://gitlab.com/animath/si/plateforme-corres2math.git synced 2025-06-26 07:17:36 +02:00

Changements textuels

This commit is contained in:
Yohann
2019-10-09 01:08:23 +02:00
parent 2f9e1cc452
commit c615abab44
4 changed files with 24 additions and 18 deletions

View File

@ -36,7 +36,7 @@ class ValidateVideo
{
$this->video = Video::fromId($this->video_id);
ensure($this->video != null, "La vidéo n'existe pas.");
ensure($this->video->getValidation() == 0, "La vidéo est déjà validée / rejetée.");
ensure($this->video->getValidation() != 1, "La vidéo est déjà validée / rejetée.");
ensure(($this->accept == null || $this->reject == null) && $this->accept != $this->reject, "Impossible de déterminer s'il faut accepter ou non la vidéo.");
}