Commit e2f5f2f0 authored by Cecilia Vela Gurovic's avatar Cecilia Vela Gurovic Committed by Gerrit Code Review
Browse files

Merge "Bug 1828135: Remove the pending emails when deleting user"

parents 9d3620f3 dc64aa25
......@@ -1599,6 +1599,7 @@ function delete_user($userid) {
delete_records('usr_pendingdeletion', 'usr', $userid); // just in case
delete_records('usr_agreement', 'usr', $userid);
delete_records('existingcopy', 'usr', $userid);
delete_records('artefact_internal_profile_email', 'owner', $userid);
if (is_plugin_active('framework', 'module')) {
delete_records('framework_assessment_feedback', 'usr', $userid);
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