From 1b61f682dc293f665ae6ddc3c90547906fde144e Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Wed, 26 Oct 2005 02:06:01 +0000 Subject: Bug 313131: Remove the unused get_classification_id() routine - Patch by Frédéric Buclin r=joel 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 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.3-24-g4f1b