summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Bug.pm
diff options
context:
space:
mode:
authorbugreport%peshkin.net <>2005-11-20 08:47:25 +0100
committerbugreport%peshkin.net <>2005-11-20 08:47:25 +0100
commit740e03663517cf50d12fa2795b883615083ef6f0 (patch)
tree03f896631d807bc22c7294c7bc07e48ecaa53224 /Bugzilla/Bug.pm
parentda94d07717910608beb2559b4a2e3aeb946f7022 (diff)
downloadbugzilla-740e03663517cf50d12fa2795b883615083ef6f0.tar.gz
bugzilla-740e03663517cf50d12fa2795b883615083ef6f0.tar.xz
Bug 315332 fix several bugs in process_bug.cgi when 'strict_isolation' is on
Patch by Joel Peshkin <bugreport@peshkin.net> r=lpsolit, a=justdave
Diffstat (limited to 'Bugzilla/Bug.pm')
-rwxr-xr-xBugzilla/Bug.pm11
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;