File tree Expand file tree Collapse file tree 5 files changed +13
-1
lines changed
Expand file tree Collapse file tree 5 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,8 @@ public static function get_metadata(collection $collection): collection {
5757 'pagetype ' => 'privacy:metadata:bookmarks:pagetype ' ,
5858 'pagetitle ' => 'privacy:metadata:bookmarks:pagetitle ' ,
5959 'pageurl ' => 'privacy:metadata:bookmarks:pageurl ' ,
60+ 'itemtype ' => 'privacy:metadata:bookmarks:itemtype ' ,
61+ 'itemid ' => 'privacy:metadata:bookmarks:itemid ' ,
6062 'timemodified ' => 'privacy:metadata:bookmarks:timemodified '
6163 ];
6264 $ collection ->add_database_table ('ltool_bookmarks_data ' , $ bookmarksmetadata , 'privacy:metadata:bookmarksmetadata ' );
@@ -205,6 +207,8 @@ public static function export_user_data(approved_contextlist $contextlist) {
205207 'pagetitle ' => $ record ->pagetitle ,
206208 'pagetype ' => $ record ->pagetype ,
207209 'pageurl ' => $ record ->pageurl ,
210+ 'itemtype ' => $ record ->itemtype ,
211+ 'itemid ' => $ record ->itemid ,
208212 'timecreated ' => ($ record ->timecreated ) ? transform::datetime ($ record ->timecreated ) : '- ' ,
209213 ];
210214 }, $ records );
Original file line number Diff line number Diff line change 4141$ string ['privacy:metadata:bookmarks:pagetype ' ] = 'Bookmarked pagetype ' ;
4242$ string ['privacy:metadata:bookmarks:pagetitle ' ] = 'Page title of Bookmarked page ' ;
4343$ string ['privacy:metadata:bookmarks:pageurl ' ] = 'Bookmarked page url ' ;
44+ $ string ['privacy:metadata:bookmarks:itemtype ' ] = 'Bookmarked item type ' ;
45+ $ string ['privacy:metadata:bookmarks:itemid ' ] = 'Bookmarked item id ' ;
4446$ string ['privacy:metadata:bookmarks:timecreated ' ] = 'Time of the bookmarks created ' ;
4547$ string ['privacy:metadata:bookmarks:timemodified ' ] = 'Time of the bookmarks modified ' ;
4648$ string ['privacy:metadata:bookmarksmetadata ' ] = 'List of users data stored in bookmarks subplugin ' ;
Original file line number Diff line number Diff line change @@ -60,6 +60,8 @@ public static function get_metadata(collection $collection): collection {
6060 'pagetitle ' => 'privacy:metadata:note:pagetitle ' ,
6161 'pageurl ' => 'privacy:metadata:note:pageurl ' ,
6262 'note ' => 'privacy:metadata:note:note ' ,
63+ 'itemtype ' => 'privacy:metadata:note:itemtype ' ,
64+ 'itemid ' => 'privacy:metadata:note:itemid ' ,
6365 'timecreated ' => 'privacy:metadata:note:timecreated ' ,
6466 'timemodified ' => 'privacy:metadata:note:timemodified '
6567 ];
@@ -207,6 +209,8 @@ public static function export_user_data(approved_contextlist $contextlist) {
207209 'pagetype ' => $ note ->pagetype ,
208210 'pageurl ' => $ note ->pageurl ,
209211 'note ' => $ note ->note ,
212+ 'itemtype ' => $ note ->itemtype ,
213+ 'itemid ' => $ note ->itemid ,
210214 'timecreated ' => ($ note ->timecreated ) ? transform::datetime ($ note ->timecreated ) : '- ' ,
211215 'timemodified ' => ($ note ->timemodified ) ? transform::datetime ($ note ->timemodified ) : '- ' ,
212216 ];
Original file line number Diff line number Diff line change 4242$ string ['privacy:metadata:note:pagetype ' ] = 'Note created pagetype ' ;
4343$ string ['privacy:metadata:note:pagetitle ' ] = 'Page title of the note created page ' ;
4444$ string ['privacy:metadata:note:pageurl ' ] = 'Note created page url ' ;
45+ $ string ['privacy:metadata:bookmarks:itemtype ' ] = 'Note item type ' ;
46+ $ string ['privacy:metadata:bookmarks:itemid ' ] = 'Note item id ' ;
4547$ string ['privacy:metadata:note:note ' ] = 'User entered note content. ' ;
4648$ string ['privacy:metadata:note:timecreated ' ] = 'Time of the note created ' ;
4749$ string ['privacy:metadata:note:timemodified ' ] = 'Time of the note modified ' ;
Original file line number Diff line number Diff line change 2424defined ('MOODLE_INTERNAL ' ) || die ();
2525
2626$ plugin ->component = 'local_learningtools ' ;
27- $ plugin ->version = 2025051500 ;
27+ $ plugin ->version = 2025051501 ;
2828$ plugin ->release = 'v1.2 ' ;
2929$ plugin ->requires = 2022041900 ; // Moodle 4.0.
3030$ plugin ->maturity = MATURITY_STABLE ;
You can’t perform that action at this time.
0 commit comments