Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update filter.php for backward compatibility #55

Merged
merged 1 commit into from
Oct 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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);
Loading