mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
Merge branch 'MDL-71626' of https://github.com/paulholden/moodle
This commit is contained in:
commit
da8787d68d
@ -645,7 +645,8 @@ function enable_cli_maintenance_mode() {
|
||||
} else {
|
||||
$data = get_string('sitemaintenance', 'admin');
|
||||
$data = bootstrap_renderer::early_error_content($data, null, null, null);
|
||||
$data = bootstrap_renderer::plain_page(get_string('sitemaintenancetitle', 'admin', $SITE->fullname), $data);
|
||||
$data = bootstrap_renderer::plain_page(get_string('sitemaintenancetitle', 'admin',
|
||||
format_string($SITE->fullname, true, ['context' => context_system::instance()])), $data);
|
||||
}
|
||||
|
||||
file_put_contents("$CFG->dataroot/climaintenance.html", $data);
|
||||
|
Loading…
x
Reference in New Issue
Block a user