How do I unenrol a single DB Auth user from a course in Moodle 2?

Re: How do I unenrol a single DB Auth user from a course in Moodle 2?

by Lewis Carr -
Number of replies: 0
Hi Marcus, I have a temporary solution but it involves a database query. Basically if you run this query on your Moodle database: Select * from mdl_enrol where courseid= (enter the number) It will pull up all the erolment methods used in that course. You then rename the entry that is either flatfile or database to manual. Now you can unenrol those users as normal and when your are done rename it back in the database to the original value (ie flatfile or database). Like I said it's a temporary fix. I am considering hacking the source files to allow it to work as 1.9 or even cloning the enrolment method and creating a new instance but just havnt the time just yet as term just started up again. Regards, Lewis