mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 21:05:36 +00:00
Patch for bug 261434: implement functionality to delete a user semi-properly (only works for users with no bugs/comments); patch by Ivan Todoroski <grnch@gmx.net>; r=justdave, a=justdave.
This commit is contained in:
parent
d73ffa47db
commit
6976bb0f22
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user