diff --git a/CHANGES.md b/CHANGES.md index 3c96165..8efc54d 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -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. diff --git a/classes/enrollist_table.php b/classes/enrollist_table.php index 2679891..91c5a24 100644 --- a/classes/enrollist_table.php +++ b/classes/enrollist_table.php @@ -41,7 +41,7 @@ * @copyright 2024 Alexander Bias, lern.link GmbH * @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. diff --git a/settings.php b/settings.php index 1d87a5a..390779a 100644 --- a/settings.php +++ b/settings.php @@ -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).'
'. - 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);