mirror of
https://github.com/catalyst/moodle-auth_outage.git
synced 2026-05-17 05:48:43 +02:00
Issue #82 - Recreate templates when settings (allowed ips or blocks removed) is updated.
This commit is contained in:
8
lib.php
8
lib.php
@@ -48,3 +48,11 @@ function auth_outage_extend_navigation_user() {
|
||||
outagelib::inject();
|
||||
}
|
||||
|
||||
/**
|
||||
* Used for adminlib::set_updatedcallback which requires a string that resolves to a function.
|
||||
*
|
||||
* Related to: MDL-57264 and MDL-32984
|
||||
*/
|
||||
function auth_outage_outagelib_prepare_next_outage() {
|
||||
outagelib::prepare_next_outage();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user