Skip to content

Commit

Permalink
Merge branch 'MDL-71626-311' of https://github.com/paulholden/moodle
Browse files Browse the repository at this point in the history
…into MOODLE_311_STABLE
  • Loading branch information
andrewnicols committed May 20, 2021
2 parents 0fc5c86 + e16b41d commit 33c9dde
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/adminlib.php
Expand Up @@ -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);
Expand Down

0 comments on commit 33c9dde

Please sign in to comment.