Skip to content

Commit

Permalink
More coding standard fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
nbozhkov-ucl committed Jan 30, 2024
1 parent 32db859 commit df498ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion block_lifecycle.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion renderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -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(
'<a href="' . $freezeurl .' " class="btn btn-primary">' .
get_string('button:unfreezecoursecontext', 'block_lifecycle') .
get_string('button:unfreezecoursecontext', 'block_lifecycle') .
'</a>'
);

Expand Down

0 comments on commit df498ea

Please sign in to comment.