Change hook callback to string #336 (#337)

This commit is contained in:
Benjamin Walker
2024-05-24 15:56:32 +10:00
committed by GitHub
parent c9b5a9ad92
commit dae83f45ba
2 changed files with 3 additions and 3 deletions

View File

@@ -28,7 +28,7 @@ defined('MOODLE_INTERNAL') || die();
$callbacks = [
[
'hook' => \core\hook\output\before_standard_top_of_body_html_generation::class,
'callback' => [\auth_outage\hook_callbacks::class, 'before_standard_top_of_body_html_generation'],
'callback' => '\auth_outage\hook_callbacks::before_standard_top_of_body_html_generation',
'priority' => 0,
],
];