From 877a6c19c0974eb7e51856b7a2314dbee6079893 Mon Sep 17 00:00:00 2001 From: "mkanat%kerio.com" <> Date: Thu, 2 Mar 2006 05:26:18 +0000 Subject: Bug 328434: Move GroupIsActive into post_bug.cgi Patch By Max Kanat-Alexander r=wicked, a=justdave --- globals.pl | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'globals.pl') diff --git a/globals.pl b/globals.pl index 4f7b6e03a..2c7861c6b 100644 --- a/globals.pl +++ b/globals.pl @@ -526,20 +526,6 @@ sub GroupIdToName { return $name; } - -# Determines whether or not a group is active by checking -# the "isactive" column for the group in the "groups" table. -# Note: This function selects groups by id rather than by name. -sub GroupIsActive { - my ($groupid) = (@_); - $groupid ||= 0; - PushGlobalSQLState(); - SendSQL("SELECT isactive FROM groups WHERE id=$groupid"); - my $isactive = FetchOneColumn(); - PopGlobalSQLState(); - return $isactive; -} - # Determines if the given bug_status string represents an "Opened" bug. This # routine ought to be parameterizable somehow, as people tend to introduce # new states into Bugzilla. -- cgit v1.2.3-24-g4f1b