Describe the bug (required)
There are duplicate reminder emails being sent when a particular user has been assigned to two or more roles (such as, student, teacher, etc).
To Reproduce (required)
Steps to reproduce the behavior:
Create a user and a course
Enrol user to the above course with both Student and Teacher roles.
Create an assignment event with a due date.
Run local reminders scheduled task
The above user will receive duplicate reminder emails. One for role student and other is for teacher.
Expected behavior (required)
Only one reminder email should be sent for a user for a single event.
Describe the bug (required) There are duplicate reminder emails being sent when a particular user has been assigned to two or more roles (such as, student, teacher, etc).
To Reproduce (required) Steps to reproduce the behavior:
Expected behavior (required) Only one reminder email should be sent for a user for a single event.
Cron Logs (required) Not required.
Environment (required):