mirror of
https://github.com/catalyst/moodle-auth_outage.git
synced 2026-10-22 10:18:06 +02:00
Implement new hook callbacks #334
This commit is contained in:
1 parent
e281b59eb4
commit
541b2d4407
4 files changed
+81
-3
No files matched your search
@@ -68,6 +68,9 @@ function auth_outage_get_climaintenance_resource_file($file) {
|
||||
/**
|
||||
* Inject the warning bar into the page if there is currently an outage.
|
||||
*
|
||||
* This is a legacy callback that is used for compatibility with older Moodle versions.
|
||||
* Moodle 4.4+ will use auth_outage\hook_callbacks::before_standard_top_of_body_html_generation instead.
|
||||
*
|
||||
* @return string|void
|
||||
*/
|
||||
function auth_outage_before_standard_top_of_body_html() {
|
||||
|
||||
Reference in new issue
Block a user