diff options
author | lpsolit%gmail.com <> | 2005-10-26 04:06:01 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2005-10-26 04:06:01 +0200 |
commit | 1b61f682dc293f665ae6ddc3c90547906fde144e (patch) | |
tree | c5d7a1e1f94c62855c60a321e6b25391e4a9aa99 | |
parent | 6ccdb432f3782565f192727c4e9306aa9eb91ef1 (diff) | |
download | bugzilla-1b61f682dc293f665ae6ddc3c90547906fde144e.tar.gz bugzilla-1b61f682dc293f665ae6ddc3c90547906fde144e.tar.xz |
Bug 313131: Remove the unused get_classification_id() routine - Patch by Frédéric Buclin <LpSolit@gmail.com> r=joel a=myk
-rw-r--r-- | globals.pl | 9 |
1 files changed, 0 insertions, 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(); |