Commit 5ecf5336 authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review

Merge "Bug 1852584: delete a group collection if already copied to existing users"

parents f9cfad1a 7a8a32bf
......@@ -156,8 +156,8 @@ class Collection {
if (is_plugin_active('lti', 'module')) {
delete_records('lti_assessment_submission', 'collectionid', $this->id);
delete_records('existingcopy', 'collection', $this->id);
delete_records('collection', 'id', $this->id);
// Delete any submission history
delete_records('module_assessmentreport_history', 'event', 'collection', 'itemid', $this->id);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment