Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-6350

enrol_groupsync still uses the legacy events API with $handlers array

    XMLWordPrintable

    Details

    • Plugin Version:
      1.0.0
    • Affected Branches:
      MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_31_STABLE

      Description

      As discovered by Karen Holland in MDLSITE-4521, the enrol_groupsync has not been upgraded to the latest events API.

      Events API using $handlers array has been deprecated in favour of Events 2 API, please use it instead.
      line 3938 of /lib/deprecatedlib.php: call to debugging()
      line 4216 of /lib/deprecatedlib.php: call to events_dispatch()
      line 809 of /lib/classes/event/base.php: call to events_trigger_legacy()
      line 1333 of /lib/enrollib.php: call to core\event\base->trigger()
      line 157 of /enrol/self/lib.php: call to enrol_plugin->enrol_user()
      line 200 of /enrol/self/lib.php: call to enrol_self_plugin->enrol_self()
      line 72 of /enrol/index.php: call to enrol_self_plugin->enrol_page_hook()
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mudrd8mz David Mudrák (@mudrd8mz)
                Reporter:
                mudrd8mz David Mudrák (@mudrd8mz)
                Participants:
                Component watchers:
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  23/May/16