We are currently running Moodle 2.6.8 but will be upgrading to 2.8.3 in 3 weeks. We are using an external MySQL database for enrolment. When a student is unenrolled from a course in our SIS, their enrollment record is removed form the external database.
When we reset the course, all of the grades and other data is removed but the students are still showing up (even though we selected to remove them on the reset).
We found that the students don't actually disappear from the course in Moodle until the next time they log in.
Is there a way to remove all unenrolled students from the course without having to wait for them to log in?