mirror of
https://github.com/PlagiarismCheck/moodle-plagiarism_pchkorg.git
synced 2024-12-22 04:10:07 +00:00
7e31e7b49f
#13 - A validation has been added. #12 - File with events has been deleted. #11 - A file access.php has been rewritten. #10 - install.xml file has been rewritten by xmldb tool. #9 - A Class with Privacy definition has been created. #8 - All urls and paths have been wrapped with build-in class `moodle_url`. #7 - Check of `MOODLE_INTERNAL` constant has been added to each file where it was needed. #6 - All strings like this have been wrapped with `get_string` function. #5 - All native calls of `curl` have been replaced with moodle `curl` class. #4 - All classes have been renamed with moodle style naming. FileModel had been dropped. #3 - GPL License has been added to each file. #2 - Call of deprecated function has been replaced with a new one.
38 lines
1.2 KiB
PHP
38 lines
1.2 KiB
PHP
<?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/>.
|
|
|
|
/**
|
|
* @package plagiarism_pchkorg
|
|
* @category plagiarism
|
|
* @copyright PlagiarismCheck.org, https://plagiarismcheck.org/
|
|
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
|
*/
|
|
|
|
defined('MOODLE_INTERNAL') || die();
|
|
|
|
if (!isset($plugin)) {
|
|
$plugin = new stdClass();
|
|
}
|
|
$plugin->version = 2019013001;
|
|
$plugin->requires = 2017051501; // Requires Moodle 3.3 .
|
|
$plugin->release = 'v2.0';
|
|
$plugin->maturity = MATURITY_STABLE;
|
|
|
|
$plugin->component = 'plagiarism_pchkorg';
|
|
$plugin->dependencies = array(
|
|
'mod_assign' => ANY_VERSION,
|
|
);
|