feat(groupe instructeur mailer): do not notify group when instructeurs removed

This commit is contained in:
Eric Leroy-Terquem 2023-03-02 09:33:16 +01:00
parent bab8fac81e
commit f6c4986e86
9 changed files with 0 additions and 78 deletions

View file

@ -41,10 +41,6 @@ module Instructeurs
GroupeInstructeurMailer
.notify_removed_instructeur(groupe_instructeur, instructeur, current_user.email)
.deliver_later
GroupeInstructeurMailer
.notify_group_when_instructeurs_removed(groupe_instructeur, [instructeur], current_user.email)
.deliver_later
else
flash[:alert] = "Linstructeur « #{instructeur.email} » nest pas dans le groupe."
end