From 6a41ecbaec4ec4e4ed9e3b2005a7f447383b85a0 Mon Sep 17 00:00:00 2001 From: "bugreport%peshkin.net" <> Date: Tue, 9 Aug 2005 18:23:38 +0000 Subject: Backout of bug 303669 which broke AppendComment and possibly a number of other items. --- Bugzilla/User.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Bugzilla/User.pm') diff --git a/Bugzilla/User.pm b/Bugzilla/User.pm index 5462aa5d4..f9efcd248 100644 --- a/Bugzilla/User.pm +++ b/Bugzilla/User.pm @@ -1156,7 +1156,7 @@ sub get_userlist { return $self->{'userlist'}; } -sub insert_new_user { +sub insert_new_user ($$;$$) { my ($username, $realname, $password, $disabledtext) = (@_); my $dbh = Bugzilla->dbh; @@ -1201,7 +1201,7 @@ sub insert_new_user { return $password; } -sub is_available_username { +sub is_available_username ($;$) { my ($username, $old_username) = @_; if(login_to_id($username) != 0) { @@ -1237,7 +1237,7 @@ sub is_available_username { return 1; } -sub login_to_id { +sub login_to_id ($) { my ($login) = (@_); my $dbh = Bugzilla->dbh; # $login will only be used by the following SELECT statement, so it's safe. @@ -1252,7 +1252,7 @@ sub login_to_id { } } -sub UserInGroup { +sub UserInGroup ($) { return defined Bugzilla->user->groups->{$_[0]} ? 1 : 0; } -- cgit v1.2.3-24-g4f1b