Skip to content

Commit

Permalink
MDL-67585 core_course: Update to provider to add favourites info.
Browse files Browse the repository at this point in the history
This adds information to the privacy report about the user being
able to favourite activities in the activity chooser.
  • Loading branch information
abgreeve authored and snake committed Feb 20, 2020
1 parent 5c78541 commit 618d310
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions course/classes/privacy/provider.php
Expand Up @@ -56,6 +56,7 @@ class provider implements
public static function get_metadata(collection $collection) : collection {
$collection->add_subsystem_link('core_completion', [], 'privacy:metadata:completionsummary');
$collection->add_subsystem_link('core_favourites', [], 'privacy:metadata:favouritessummary');
$collection->add_subsystem_link('core_favourites', [], 'privacy:metadata:activityfavouritessummary');
$collection->add_user_preference('coursecat_management_perpage', 'privacy:perpage');
return $collection;
}
Expand Down
1 change: 1 addition & 0 deletions lang/en/course.php
Expand Up @@ -62,6 +62,7 @@
$string['privacy:perpage'] = 'The number of courses to show per page.';
$string['privacy:completionpath'] = 'Course completion';
$string['privacy:favouritespath'] = 'Course starred information';
$string['privacy:metadata:activityfavouritessummary'] = 'The course system contains information about which items from the activity chooser have been starred by the user.';
$string['privacy:metadata:completionsummary'] = 'The course contains completion information about the user.';
$string['privacy:metadata:favouritessummary'] = 'The course contains information relating to the course being starred by the user.';
$string['studentsatriskincourse'] = 'Students at risk in {$a} course';
Expand Down

0 comments on commit 618d310

Please sign in to comment.