Skip to content

Commit

Permalink
Upgrade: Adopt changes from MDL-82183 and use several new class names.
Browse files Browse the repository at this point in the history
  • Loading branch information
abias committed Nov 21, 2024
1 parent 4048214 commit 35ddf01
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Changes

### v4.4-r4

* 2024-10-20 - Upgrade: Adopt changes from MDL-82183 and use several new class names.
* 2024-10-20 - Upgrade: Adopt changes from MDL-81960 and use new \core\url class.
* 2024-10-20 - Upgrade: Adopt changes from MDL-81031 and use new \core\user class.
* 2024-10-07 - Prepare compatibility for Moodle 4.5.
Expand Down
2 changes: 1 addition & 1 deletion classes/enrollist_table.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
* @copyright 2024 Alexander Bias, lern.link GmbH <[email protected]>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
class enrollist_table extends \table_sql {
class enrollist_table extends \core_table\sql_table {

/**
* Override the constructor to construct a enrollist table instead of a simple table.
Expand Down
2 changes: 1 addition & 1 deletion settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
$reporturl = new \core\url('/enrol/semco/enrolreport.php');
$title = get_string('settings_enrolmentreportheading', 'enrol_semco', null, true);
$description = get_string('settings_enrolmentreportheading_desc', 'enrol_semco', null, true).'<br />'.
html_writer::link($reporturl,
\core\output\html_writer::link($reporturl,
get_string('settings_enrolmentreportbutton', 'enrol_semco', null, true),
['class' => 'btn btn-secondary my-3']);
$setting = new admin_setting_heading($name, $title, $description);
Expand Down

0 comments on commit 35ddf01

Please sign in to comment.