catalyst / moodle-auth_saml2

SAML done 100% in Moodle, fast, simple, secure
https://moodle.org/plugins/auth_saml2
70 stars 132 forks source link

Migrate before_http_headers new hook callback #809

Closed kabalin closed 2 months ago

kabalin commented 2 months ago

What happened?

Debugging message in Moodle 4.4:

BeforeStep # behat_hooks::before_step()
--
debugging() message/s found:
Callback before_http_headers in auth_saml2 component should be migrated to new hook callback for core\hook\output\before_http_headers
line 7468 of /lib/moodlelib.php: call to debugging()
line 7582 of /lib/moodlelib.php: call to {closure}()
line 47 of /lib/classes/hook/output/before_http_headers.php: call to get_plugins_with_function()
line 1369 of /lib/outputrenderers.php: call to core\hook\output\before_http_headers->process_legacy_callbacks()
line 116 of /index.php: call to core_renderer->header()