Skip to content

Commit

Permalink
Merge pull request #812 from paulholden/hook-403
Browse files Browse the repository at this point in the history
Use original string hook callback definition for backwards compat.
  • Loading branch information
danmarsden authored May 1, 2024
2 parents 97dd549 + 79a0ff2 commit 32302a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/hooks.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
$callbacks = [
[
'hook' => \core\hook\output\before_http_headers::class,
'callback' => [auth_saml2\local\hooks\output\before_http_headers::class, 'callback'],
'callback' => 'auth_saml2\local\hooks\output\before_http_headers::callback',
'priority' => 0,
],
];

0 comments on commit 32302a8

Please sign in to comment.