Skip to content

Commit

Permalink
make new class compatible to old codecheckers
Browse files Browse the repository at this point in the history
  • Loading branch information
bluetom committed Nov 11, 2024
1 parent 1aae690 commit b6b1df6
Showing 1 changed file with 30 additions and 28 deletions.
58 changes: 30 additions & 28 deletions filter.php
Original file line number Diff line number Diff line change
@@ -1,28 +1,30 @@
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.

/**
* File only retained to prevent fatal errors in code that tries to require/include this.
*
* @todo MDL-82708 delete this file as part of Moodle 6.0 development.
* @deprecated This file is no longer required in Moodle 4.5+.
* @package filter_opencast
* @copyright 2024 Thomas Niedermaier, University of Münster
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
defined('MOODLE_INTERNAL') || die();

debugging('This file is no longer required in Moodle 4.5+. Please do not include/require it.', DEBUG_DEVELOPER);
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.

/**
* File only retained to prevent fatal errors in code that tries to require/include this.
*
* @todo MDL-82708 delete this file as part of Moodle 6.0 development.
* @deprecated This file is no longer required in Moodle 4.5+.
* @package filter_opencast
* @copyright 2024 Thomas Niedermaier, University of Münster
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
defined('MOODLE_INTERNAL') || die();

class_alias(\filter_opencast\text_filter::class, \filter_opencast::class);

debugging('This file is no longer required in Moodle 4.5+. Please do not include/require it.', DEBUG_DEVELOPER);

0 comments on commit b6b1df6

Please sign in to comment.