Commit cf769571 authored by travis%sedsystems.ca's avatar travis%sedsystems.ca

Bug 279690 : Remove BugInGroup from globals.pl

Patch by Max Kanat-Alexander <mkanat@kerio.com> r=vladd a=justdave
parent 2a3dbfdb
......@@ -1115,18 +1115,6 @@ sub UserCanBlessGroup {
return $result;
}
sub BugInGroup {
my ($bugid, $groupname) = (@_);
PushGlobalSQLState();
SendSQL("SELECT bug_group_map.bug_id != 0 FROM bug_group_map, groups
WHERE bug_group_map.bug_id = $bugid
AND bug_group_map.group_id = groups.id
AND groups.name = " . SqlQuote($groupname));
my $bugingroup = FetchOneColumn();
PopGlobalSQLState();
return $bugingroup;
}
sub BugInGroupId {
my ($bugid, $groupid) = (@_);
PushGlobalSQLState();
......
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