From 740e03663517cf50d12fa2795b883615083ef6f0 Mon Sep 17 00:00:00 2001 From: "bugreport%peshkin.net" <> Date: Sun, 20 Nov 2005 07:47:25 +0000 Subject: Bug 315332 fix several bugs in process_bug.cgi when 'strict_isolation' is on Patch by Joel Peshkin r=lpsolit, a=justdave --- Bugzilla/Bug.pm | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'Bugzilla/Bug.pm') diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index 6a6c87d37..61798f7cb 100755 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -1299,17 +1299,6 @@ sub ValidateDependencies { return %deps; } -#Verify if the new assignee belongs to the group of -#the product that the bug(s) is in. -sub can_add_user_to_bug { - my ($prod_id, $id, $uid) = @_; - my $user = new Bugzilla::User($uid); - if (!$user->can_edit_product($prod_id)) { - ThrowUserError("invalid_user_group", { 'user' => - $user->login, bug_id => $id }); - } -} - sub AUTOLOAD { use vars qw($AUTOLOAD); my $attr = $AUTOLOAD; -- cgit v1.2.3-24-g4f1b