Commit ea93be21 authored by gerv%gerv.net's avatar gerv%gerv.net

Bug 233962 - UserInGroup() should not accept a second parameter any longer.…

Bug 233962 - UserInGroup() should not accept a second parameter any longer. Patch by gerv; r=bbaetz, justdave, joel; a=justdave.
parent 38bb9a56
......@@ -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]};
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment