From: lpsolit%gmail.com <> Date: Wed, 26 Oct 2005 02:06:01 +0000 (+0000) Subject: Bug 313131: Remove the unused get_classification_id() routine - Patch by Frédéric... X-Git-Tag: bugzilla-2.22rc1~198 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b61f682dc293f665ae6ddc3c90547906fde144e;p=thirdparty%2Fbugzilla.git Bug 313131: Remove the unused get_classification_id() routine - Patch by Frédéric Buclin r=joel a=myk --- diff --git a/globals.pl b/globals.pl index 0f7128c6e8..deff2e043c 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();