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

Bouton pour envoyer un mail à tout le monde

This commit is contained in:
Yohann
2020-01-01 21:27:28 +01:00
parent eb53514eb9
commit 8cab38e216
3 changed files with 12 additions and 1 deletions

View File

@ -121,4 +121,11 @@ if (isset($req)) {
}
}
$all_emails = [];
foreach (Team::getAllTeams() as $team) {
if (Phase::getCurrentPhase() >= Phase::PHASE12 && $team->getSolution() == null)
continue;
$all_emails = array_merge($all_emails, $team->getAllEmails());
}
require_once "server_files/views/suivi_correspondances.php";