do not test archived exams for LMS connection

This commit is contained in:
anhefti 2022-05-30 10:41:37 +02:00
parent 64b496e4ac
commit 28c7706f70

View file

@ -596,7 +596,7 @@ public class ExamForm implements TemplateComposer {
}
private boolean testSEBRestrictionAPI(final Exam exam) {
if (!exam.isLmsAvailable()) {
if (!exam.isLmsAvailable() || exam.status == ExamStatus.ARCHIVED) {
return false;
}