Manually unenrolling users that were enrolled originally through database enrolment method

Manually unenrolling users that were enrolled originally through database enrolment method

by Jerry Lau -
Number of replies: 2

Hello,

We are on 2.2.4+. In version 2.4, is it now possible to manually and selectively unenroll users that were enrolled originally through database enrolment method just like if they were manually or self-enrolled?

If not, I may just have to write a script to change this enrolment type to "manual" instead so it would fix the bug where restore of roles and enrolments from a  backup file.

Thanks

Average of ratings: -
In reply to Jerry Lau

Re: Manually unenrolling users that were enrolled originally through database enrolment method

by Lawrence N -

I worked around it by writing a script that runs on a nightly basis which would change it to manual enrolment type from db enrolment type assigned to/for that course (each course has their own "manual enrolment id" assigned to them. You need to find out what they are and use that manual enrolment id instead of the "db enrolment method" id for that user in that course.

Workaround  until we move to version 2.4 and higher... maybe later this year or early next... up to our management to decide cool