diff options
Diffstat (limited to 'Bugzilla/Bug.pm')
-rwxr-xr-x | Bugzilla/Bug.pm | 11 |
1 files changed, 0 insertions, 11 deletions
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; |