diff options
| -rw-r--r-- | dozentenmodulserver/src/main/java/org/openslx/bwlp/sat/mail/MailGenerator.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dozentenmodulserver/src/main/java/org/openslx/bwlp/sat/mail/MailGenerator.java b/dozentenmodulserver/src/main/java/org/openslx/bwlp/sat/mail/MailGenerator.java index 5fd313e3..edea9597 100644 --- a/dozentenmodulserver/src/main/java/org/openslx/bwlp/sat/mail/MailGenerator.java +++ b/dozentenmodulserver/src/main/java/org/openslx/bwlp/sat/mail/MailGenerator.java @@ -103,7 +103,7 @@ public class MailGenerator { for (LectureSummary lecture : lectures) { List<UserInfo> relevantUsers = getUserToMail(lecture); - MailTemplate template = new MailTemplate("lectureDeactivated"); + MailTemplate template = DbConfiguration.getMailTemplate(Template.LECTURE_DEACTIVATED); Map<String, String> templateArgs = new HashMap<>(); templateArgs.put("lecture", lecture.lectureName); |
