From 0138cf1de4890e37587e4dbffb15e8c3a030b835 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luca=20B=C3=B6sch?= Date: Wed, 9 Oct 2024 08:36:11 +0200 Subject: [PATCH] Prefix base_text_filter to allow for other filters. --- classes/text_filter.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/classes/text_filter.php b/classes/text_filter.php index 9fe4505..ea1110f 100644 --- a/classes/text_filter.php +++ b/classes/text_filter.php @@ -57,9 +57,9 @@ namespace filter_multilang2; if (class_exists('\core_filters\text_filter')) { - class_alias('\core_filters\text_filter', 'base_text_filter'); + class_alias('\core_filters\text_filter', 'filter_multilang2_base_text_filter'); } else { - class_alias('\moodle_text_filter', 'base_text_filter'); + class_alias('\moodle_text_filter', 'filter_multilang2_base_text_filter'); } /** @@ -70,7 +70,7 @@ class_alias('\moodle_text_filter', 'base_text_filter'); * 2015 onwards IƱaki Arenaza & Mondragon Unibertsitata * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ -class text_filter extends \base_text_filter { +class text_filter extends \filter_multilang2_base_text_filter { /** * @var array Cache of parent language(s) of a given language