Skip to content

Latest plugin version still uses Moodle Events API v1 #109

@mwillis11

Description

@mwillis11

Hi,

I see that a kind soul committed some changes to update the Events API v1 use to use v2 in #44, which was rejected in 2017: #44 (comment)

Merged another pull request for Events 2 API

There is no reference to the ticket that 'fixed' this.

I've just updated my local moodle instance to the release 1.3.1 (I'm using Moodle 4.1.16) then purged caches, and I still get the Site Administration > Notifications warning banner saying mod_equella is using Events API 1.

Image

Looking through the source code, there are calls to events_trigger() function in callbackmulti.php and externallib.php:
https://github.com/search?q=repo%3Aopenequella%2Fmoodle-mod_openEQUELLA%20events_trigger&type=code

Image

I can't find an existing ticket here to update the API use. Is there a different branch I should use?

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions