From 46c78a8c7c42bfdf47ee1f68939aa122371b9662 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Mon, 8 May 2006 02:56:04 +0000 Subject: Bug 332521: Remove GroupIdToName() from globals.pl - Patch by Frédéric Buclin r=mkanat a=myk MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- globals.pl | 9 --------- 1 file changed, 9 deletions(-) (limited to 'globals.pl') diff --git a/globals.pl b/globals.pl index 38791a93b..ac95974d2 100644 --- a/globals.pl +++ b/globals.pl @@ -306,15 +306,6 @@ sub get_legal_field_values { return @$result_ref; } -sub GroupIdToName { - my ($groupid) = (@_); - PushGlobalSQLState(); - SendSQL("SELECT name FROM groups WHERE id = $groupid"); - my $name = FetchOneColumn(); - PopGlobalSQLState(); - return $name; -} - ############# Live code below here (that is, not subroutine defs) ############# use Bugzilla; -- cgit v1.2.3-24-g4f1b