(Moodle 2.3) Problem with enrolment plugin and unenrol

(Moodle 2.3) Problem with enrolment plugin and unenrol

by Howard Miller -
Number of replies: 0
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
I have written a ew enrollment plugin that is loosely based on the external database plugin.

Anyway, I want to be able to allow teachers (and up) to manually unenrol users. The plugin never unenrols - regardless of the external database (this is intentional).

However, I can't get it to work. I've set allow_unenrol() to return true but the option to unenrol each user does not appear. I can delete the whole plugin and remove all the users just not individual users.

Anybody got an idea what I'm missing?
Average of ratings: -