Bug 233962 - UserInGroup() should not accept a second parameter any longer. Patch by gerv; r=bbaetz, justdave, joel; a=justdave.

This commit is contained in:
gerv%gerv.net 2004-03-27 10:45:30 +00:00
parent 40db418d07
commit 29301895c2

View File

@ -1195,6 +1195,10 @@ sub SplitEnumType {
}
sub UserInGroup {
if ($_[1]) {
die "UserInGroup no longer takes a second parameter.";
}
return defined Bugzilla->user && defined Bugzilla->user->groups->{$_[0]};
}