Skip to content

Commit

Permalink
Merge pull request #55 from michael-milette/patch-1
Browse files Browse the repository at this point in the history
Update filter.php for backward compatibility
  • Loading branch information
iarenaza authored Oct 18, 2024
2 parents 0fb6ac0 + 8cced6b commit ee131b4
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions filter.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.

/**
* A Moodle text filter to enable multilangual content.
* A Moodle text filter to enable multilingual content.
*
* @package filter_multilang2
* @copyright 1999 onwards Martin Dougiamas (http://dougiamas.com)
Expand All @@ -24,8 +24,7 @@
* @copyright 2015 onwards Iñaki Arenaza & Mondragon Unibertsitatea
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
class filter_multilang2 extends \filter_multilang2\text_filter {
// The actual implementation in under classes/text_filter.php
// This file is just a workaround to make the filter work
// in Moodle versions below 4.5.
}
// The actual implementation is under classes/text_filter.php
// This file is just a workaround to make the filter work
// in Moodle versions below 4.5.
class_alias(\filter_multilang2\text_filter::class, \filter_multilang2::class);

0 comments on commit ee131b4

Please sign in to comment.