(Moodle 2.3) Problem with enrolment plugin and unenrol

(Moodle 2.3) Problem with enrolment plugin and unenrol

por Howard Miller -
Número de respostas: 0
Foto de Core developers Foto de Documentation writers Foto de Particularly helpful Moodlers Foto de Peer reviewers Foto de 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?