mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 09:26:35 +02:00
Merge branch 'MDL-61751-master-fix' of https://github.com/snake/moodle
This commit is contained in:
commit
b9201e1b2b
2 changed files with 5 additions and 5 deletions
|
@ -34,10 +34,7 @@ defined('MOODLE_INTERNAL') || die();
|
||||||
*/
|
*/
|
||||||
interface plagiarism_provider extends
|
interface plagiarism_provider extends
|
||||||
// The plagiarism_provider should be implemented by plugins which only provide information to a subsystem.
|
// The plagiarism_provider should be implemented by plugins which only provide information to a subsystem.
|
||||||
\core_privacy\local\request\plugin\subsystem_provider,
|
\core_privacy\local\request\plugin\subsystem_provider {
|
||||||
|
|
||||||
// All plagiarism plugins should also implement the metadata provider.
|
|
||||||
\core_privacy\local\metadata\provider {
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Export all plagiarism data from each plagiarism plugin for the specified userid and context.
|
* Export all plagiarism data from each plagiarism plugin for the specified userid and context.
|
||||||
|
|
|
@ -94,9 +94,12 @@ class core_plagiarism_privacy_legacy_polyfill_test extends advanced_testcase {
|
||||||
* @copyright 2018 Jake Dallimore <jrhdallimore@gmail.com>
|
* @copyright 2018 Jake Dallimore <jrhdallimore@gmail.com>
|
||||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||||
*/
|
*/
|
||||||
class test_legacy_polyfill_plagiarism_provider implements \core_plagiarism\privacy\plagiarism_provider {
|
class test_legacy_polyfill_plagiarism_provider implements
|
||||||
|
\core_privacy\local\metadata\provider,
|
||||||
|
\core_plagiarism\privacy\plagiarism_provider {
|
||||||
|
|
||||||
use \core_plagiarism\privacy\legacy_polyfill;
|
use \core_plagiarism\privacy\legacy_polyfill;
|
||||||
|
use \core_privacy\local\legacy_polyfill;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var test_legacy_polyfill_plagiarism_provider $mock.
|
* @var test_legacy_polyfill_plagiarism_provider $mock.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue