Commit 671a8be3 authored by Robert Lyon's avatar Robert Lyon Committed by Cecilia Vela Gurovic
Browse files

Bug 1828135: Remove the pending emails when deleting user


Change-Id: I04e7787c9d17418d2a5e80df3035255cb51b6d51
Signed-off-by: Robert Lyon's avatarRobert Lyon <>
(cherry picked from commit dc64aa25)
parent 41d7567c
......@@ -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