mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-03 23:30:46 +00:00
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:
parent
40db418d07
commit
29301895c2
@ -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]};
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user