From fbde642b89fbad421716d9635640c9074873ceaa Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Wed, 10 Aug 2005 08:45:50 +0000 Subject: Bug 303803: Remove the unused get_classification_name() routine - Patch by Frédéric Buclin r=mkanat a=justdave MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- globals.pl | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'globals.pl') diff --git a/globals.pl b/globals.pl index d4ba17004..ed4159335 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(); -- cgit v1.2.3-24-g4f1b