diff options
Diffstat (limited to 'editusers.cgi')
-rwxr-xr-x | editusers.cgi | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/editusers.cgi b/editusers.cgi index 6d6c844ca..be8154d2e 100755 --- a/editusers.cgi +++ b/editusers.cgi @@ -645,9 +645,11 @@ if ($action eq 'delete') { WHERE login_name=" . SqlQuote($user)); my $userid = FetchOneColumn(); + Bugzilla->logout_user_by_id($userid); SendSQL("DELETE FROM profiles WHERE login_name=" . SqlQuote($user)); - Bugzilla->logout_user_by_id($userid); + SendSQL("DELETE FROM user_group_map + WHERE user_id=" . $userid); print "User deleted.<BR>\n"; PutTrailer($localtrailer); |