Skip to content
Snippets Groups Projects
Commit 206f4faa authored by srosse's avatar srosse
Browse files

OO-4120: don't send reminder from closed courses

parent a43e1b92
No related branches found
No related tags found
No related merge requests found
......@@ -142,7 +142,7 @@ public class ReminderDAO {
sb.append("select rem from reminder rem")
.append(" inner join rem.entry entry")
.append(" where (rem.startDate is null or rem.startDate<=:startDate)")
.append(" and entry.status ").in(RepositoryEntryStatusEnum.preparationToClosed());
.append(" and entry.status ").in(RepositoryEntryStatusEnum.preparationToPublished());
return dbInstance.getCurrentEntityManager()
.createQuery(sb.toString(), Reminder.class)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment