Skip to content

Commit

Permalink
Merge branch 'MDL-61751-master-fix' of https://github.com/snake/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewnicols committed Apr 4, 2018
2 parents 711c477 + 0fe2692 commit b9201e1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 1 addition & 4 deletions plagiarism/classes/privacy/plagiarism_provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,7 @@
*/
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.
Expand Down
5 changes: 4 additions & 1 deletion plagiarism/tests/privacy_legacy_polyfill_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,12 @@ public function test_delete_plagiarism_for_user() {
* @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.
Expand Down

0 comments on commit b9201e1

Please sign in to comment.