Commit 1b61f682 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 313131: Remove the unused get_classification_id() routine - Patch by…

Bug 313131: Remove the unused get_classification_id() routine - Patch by Frédéric Buclin <LpSolit@gmail.com> r=joel a=myk
parent 6ccdb432
......@@ -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();
......
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