h5p / moodle-mod_hvp

H5P Plugin for Moodle
GNU General Public License v3.0
131 stars 168 forks source link

MBS-9026 implement reset userdata #548

Open pmaneggia opened 2 months ago

pmaneggia commented 2 months ago

Also delete entries in hvp_content_user_data when deleting instance

pmaneggia commented 2 months ago

This covers Issue #150 Doing this work I noticed that when deleting an instance of the activity (callback hvp_delete_instance in lib.php) does not clear the table hvp_content_user_data accordingly, so I added this as well.

pmaneggia commented 2 months ago

I just force pushed a small improvement to the commit assuming that no one is actually working with this. Apologies if this was not the case.