catalyst / moodle-auth_outage

Planned, graduated user and admin friendly moodle outages
https://moodle.org/plugins/auth_outage
17 stars 32 forks source link

Moodle 4.4: Failure due to new Hooks API #334

Closed opitz closed 1 month ago

opitz commented 2 months ago

When running with Moodle 4.4 with debugging set to developer the following error is shown:

Callback before_standard_top_of_body_html in auth_outage component should be migrated to new hook callback for core\hook\output\before_standard_top_of_body_html_generation

From Moodle 4.4 a new Hooks API should be used: https://moodledev.io/docs/4.4/apis/core/hooks