Commit fbde642b authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 303803: Remove the unused get_classification_name() routine - Patch by…

Bug 303803: Remove the unused get_classification_name() routine - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=justdave
parent 8d06d1ef
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment