mirror of
https://gitlab.com/animath/si/plateforme-corres2math.git
synced 2025-01-07 13:02:21 +00:00
En phase de test, pas de mail envoyé à tous les admins
This commit is contained in:
parent
c615abab44
commit
a580086312
@ -46,7 +46,7 @@ class Mailer
|
|||||||
foreach (User::getAdmins() as $admin) {
|
foreach (User::getAdmins() as $admin) {
|
||||||
$c = preg_replace("#{FIRST_NAME}#", $admin->getFirstName(), $content);
|
$c = preg_replace("#{FIRST_NAME}#", $admin->getFirstName(), $content);
|
||||||
$c = preg_replace("#{SURNAME}#", $admin->getSurname(), $c);
|
$c = preg_replace("#{SURNAME}#", $admin->getSurname(), $c);
|
||||||
self::sendMail($admin->getEmail(), $subject, $c, $from);
|
// self::sendMail($admin->getEmail(), $subject, $c, $from);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user