From e02c0648fde4231cad4545938caf9da133f8ccd0 Mon Sep 17 00:00:00 2001 From: Alexander Bias Date: Mon, 28 Oct 2024 20:55:59 +0100 Subject: [PATCH] Upgrade: Adopt changes from MDL-82183 and use new \core\output\html_writer --- CHANGES.md | 1 + db/upgrade.php | 2 ++ settings.php | 2 ++ 3 files changed, 5 insertions(+) diff --git a/CHANGES.md b/CHANGES.md index 80bf3e8..0177240 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -6,6 +6,7 @@ Changes ### Unreleased +* 2024-10-14 - Upgrade: Adopt changes from MDL-82183 and use new \core\output\html_writer * 2024-10-14 - Upgrade: Adopt changes from MDL-81960 and use new \core\url class * 2024-10-14 - Upgrade: Adopt changes from MDL-81031 and use new \core\user class. * 2024-10-07 - Prepare compatibility for Moodle 4.5. diff --git a/db/upgrade.php b/db/upgrade.php index 5831def..03be95b 100644 --- a/db/upgrade.php +++ b/db/upgrade.php @@ -22,6 +22,8 @@ * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ +use core\output\html_writer; + /** * Upgrade steps for this plugin * @param int $oldversion the version we are upgrading from diff --git a/settings.php b/settings.php index ed65e28..3e09f29 100644 --- a/settings.php +++ b/settings.php @@ -22,6 +22,8 @@ * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ +use core\output\html_writer; + defined('MOODLE_INTERNAL') || die(); require_once(__DIR__ . '/locallib.php');