diff options
author | lpsolit%gmail.com <> | 2005-10-26 02:06:01 +0000 |
---|---|---|
committer | lpsolit%gmail.com <> | 2005-10-26 02:06:01 +0000 |
commit | 1b61f682dc293f665ae6ddc3c90547906fde144e (patch) | |
tree | c5d7a1e1f94c62855c60a321e6b25391e4a9aa99 | |
parent | 6ccdb432f3782565f192727c4e9306aa9eb91ef1 (diff) | |
download | bugs-1b61f682dc293f665ae6ddc3c90547906fde144e.tar bugs-1b61f682dc293f665ae6ddc3c90547906fde144e.tar.gz bugs-1b61f682dc293f665ae6ddc3c90547906fde144e.tar.bz2 bugs-1b61f682dc293f665ae6ddc3c90547906fde144e.tar.xz bugs-1b61f682dc293f665ae6ddc3c90547906fde144e.zip |
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(); |