Moodle 3.3 - unenrol user - Events API deprecated

Moodle 3.3 - unenrol user - Events API deprecated

by Conn Warwicker -
Number of replies: 1
Picture of Core developers Picture of Plugin developers

Just updated to Moodle 3.3, when I unenrol a user from a course, I get the warning:

Events API using $handlers array has been deprecated in favour of Events 2 API, please use it instead.

  • line 3946 of \lib\deprecatedlib.php: call to debugging()
  • line 4224 of \lib\deprecatedlib.php: call to events_dispatch()
  • line 839 of \lib\classes\event\base.php: call to events_trigger_legacy()
  • line 1858 of \lib\enrollib.php: call to core\event\base->trigger()
  • line 69 of \enrol\unenroluser.php: call to enrol_plugin->unenrol_user()
Is this a problem in 3.3, or could there some legacy thing in my database somewhere that needs to be removed?
Average of ratings: -
In reply to Conn Warwicker

Re: Moodle 3.3 - unenrol user - Events API deprecated

by Conn Warwicker -
Picture of Core developers Picture of Plugin developers

never mind, found the event, it was from an old, deleted plugin.