bdecentgmbh / moodle-mod_videotime

The Video Time product family is a set of plugins to integrate videos into moodle courses.
http://bdecent.de/videotime
Other
10 stars 5 forks source link

Totara purge support #81

Open pf-aleido opened 1 month ago

pf-aleido commented 1 month ago

Totara have a construct "Purge/Purge data" for configurable purging of user data (if user gets suspended or deleted). Plugins that have database tables with user references can add support for it in Totara. https://totara.help/docs/purge-type-settings

A suggestion is that you add support for it in your totara18 branch for purging of user references in for example the dbtable that stores information on user watch progress.

Examples on how to add support for it can be found, for example, in server/mod/facetoface/classes/userdata And a unittest for it: server/mod/facetoface/tests/userdata_signups_test.php

stefanscholz commented 1 month ago

Hi @pf-aleido , thank you for this suggestion, that does indeed make sense. We'll discuss it internally and update this issue accordingly.