From df498eab095dec568753ff6f89da8a28f603ba21 Mon Sep 17 00:00:00 2001 From: Nikola Bozhkov Date: Tue, 23 Jan 2024 09:29:56 +0000 Subject: [PATCH] More coding standard fixes. --- block_lifecycle.php | 2 +- renderer.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/block_lifecycle.php b/block_lifecycle.php index 783c7ed..bb15073 100644 --- a/block_lifecycle.php +++ b/block_lifecycle.php @@ -83,7 +83,7 @@ public function get_content() { if (has_capability("moodle/site:managecontextlocks", $context)) { $html .= $renderer->show_unfreeze_button($courseid); } - } + } $this->content->text = $html; diff --git a/renderer.php b/renderer.php index 9111e2d..8d68ef1 100644 --- a/renderer.php +++ b/renderer.php @@ -164,7 +164,7 @@ public function show_unfreeze_button(int $courseid): string { $freezeurl = new moodle_url('/admin/lock.php', ['id' => $context->id]); return html_writer::div( '' . - get_string('button:unfreezecoursecontext', 'block_lifecycle') . + get_string('button:unfreezecoursecontext', 'block_lifecycle') . '' );