From 1b61f682dc293f665ae6ddc3c90547906fde144e Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Wed, 26 Oct 2005 02:06:01 +0000 Subject: =?UTF-8?q?Bug=20313131:=20Remove=20the=20unused=20get=5Fclassific?= =?UTF-8?q?ation=5Fid()=20routine=20-=20Patch=20by=20Fr=C3=A9d=C3=A9ric=20?= =?UTF-8?q?Buclin=20=20r=3Djoel=20a=3Dmyk?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- globals.pl | 9 --------- 1 file changed, 9 deletions(-) diff --git a/globals.pl b/globals.pl index 0f7128c6e..deff2e043 100644 --- a/globals.pl +++ b/globals.pl @@ -437,15 +437,6 @@ sub DBNameToIdAndCheck { ThrowUserError("invalid_username", { name => $name }); } -sub get_classification_id { - my ($classification) = @_; - PushGlobalSQLState(); - SendSQL("SELECT id FROM classifications WHERE name = " . SqlQuote($classification)); - my ($classification_id) = FetchSQLData(); - PopGlobalSQLState(); - return $classification_id; -} - sub get_product_id { my ($prod) = @_; PushGlobalSQLState(); -- cgit v1.2.1