mirror of
https://github.com/moodle/moodle.git
synced 2025-04-19 23:42:11 +02:00
Merge branch 'MDL-61751-master-fix' of https://github.com/snake/moodle
This commit is contained in:
commit
b9201e1b2b
@ -34,10 +34,7 @@ defined('MOODLE_INTERNAL') || die();
|
||||
*/
|
||||
interface plagiarism_provider extends
|
||||
// The plagiarism_provider should be implemented by plugins which only provide information to a subsystem.
|
||||
\core_privacy\local\request\plugin\subsystem_provider,
|
||||
|
||||
// All plagiarism plugins should also implement the metadata provider.
|
||||
\core_privacy\local\metadata\provider {
|
||||
\core_privacy\local\request\plugin\subsystem_provider {
|
||||
|
||||
/**
|
||||
* 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>
|
||||
* @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_privacy\local\legacy_polyfill;
|
||||
|
||||
/**
|
||||
* @var test_legacy_polyfill_plagiarism_provider $mock.
|
||||
|
Loading…
x
Reference in New Issue
Block a user