From fbde642b89fbad421716d9635640c9074873ceaa Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Wed, 10 Aug 2005 08:45:50 +0000 Subject: [PATCH] =?utf8?q?Bug=20303803:=20Remove=20the=20unused=20get=5Fcl?= =?utf8?q?assification=5Fname()=20routine=20-=20Patch=20by=20Fr=C3=A9d?= =?utf8?q?=C3=A9ric=20Buclin=20=20r=3Dmkanat=20a=3Djust?= =?utf8?q?dave?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- globals.pl | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/globals.pl b/globals.pl index d4ba17004e..ed4159335f 100644 --- a/globals.pl +++ b/globals.pl @@ -688,19 +688,6 @@ sub get_classification_id { return $classification_id; } -sub get_classification_name { - my ($classification_id) = @_; - die "non-numeric classification_id '$classification_id' passed to get_classification_name" - unless ($classification_id =~ /^\d+$/); - PushGlobalSQLState(); - SendSQL("SELECT name FROM classifications WHERE id = $classification_id"); - my ($classification) = FetchSQLData(); - PopGlobalSQLState(); - return $classification; -} - - - sub get_product_id { my ($prod) = @_; PushGlobalSQLState(); -- 2.47.2