diff options
author | lpsolit%gmail.com <> | 2005-08-10 10:45:50 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2005-08-10 10:45:50 +0200 |
commit | fbde642b89fbad421716d9635640c9074873ceaa (patch) | |
tree | 2fe9cea092e368728fcd6f8e43168523780a3340 | |
parent | 8d06d1ef539f3f8becc56953b040bc710ec9a859 (diff) | |
download | bugzilla-fbde642b89fbad421716d9635640c9074873ceaa.tar.gz bugzilla-fbde642b89fbad421716d9635640c9074873ceaa.tar.xz |
Bug 303803: Remove the unused get_classification_name() routine - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=justdave
-rw-r--r-- | globals.pl | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/globals.pl b/globals.pl index d4ba17004..ed4159335 100644 --- a/globals.pl +++ b/globals.pl @@ -688,19 +688,6 @@ sub get_classification_id { return $classification_id; } -sub get_classification_name { - my ($classification_id) = @_; - die "non-numeric classification_id '$classification_id' passed to get_classification_name" - unless ($classification_id =~ /^\d+$/); - PushGlobalSQLState(); - SendSQL("SELECT name FROM classifications WHERE id = $classification_id"); - my ($classification) = FetchSQLData(); - PopGlobalSQLState(); - return $classification; -} - - - sub get_product_id { my ($prod) = @_; PushGlobalSQLState(); |