Skip to content

Commit 54de93f

Browse files
committed
Moodle 4.5 compatibility.
1 parent ac4983f commit 54de93f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

filter.php renamed to classes/text_filter.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,16 @@
2222
use filter_embedquestion\token;
2323
use filter_embedquestion\utils;
2424

25+
namespace filter_embedquestion;
26+
2527
/**
2628
* A Moodle text filter to embed questions from the bank in content.
2729
*
2830
* @package filter_embedquestion
2931
* @copyright 2018 The Open University
3032
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
3133
*/
32-
class filter_embedquestion extends moodle_text_filter {
34+
class text_filter extends \core_filters\text_filter {
3335
/**
3436
* @var string Closing part of the embed token wrapper.
3537
*/

0 commit comments

Comments
 (0)