]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 313131: Remove the unused get_classification_id() routine - Patch by Frédéric...
authorlpsolit%gmail.com <>
Wed, 26 Oct 2005 02:06:01 +0000 (02:06 +0000)
committerlpsolit%gmail.com <>
Wed, 26 Oct 2005 02:06:01 +0000 (02:06 +0000)
globals.pl

index 0f7128c6e8ac12aa8af76d89a232973b053b4295..deff2e043c5aaa41b3e3017878570390b362c21b 100644 (file)
@@ -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();