Bug 313131: Remove the unused get_classification_id() routine - Patch by Fr�d�ric Buclin <LpSolit@gmail.com> r=joel a=myk

This commit is contained in:
lpsolit%gmail.com 2005-10-25 19:06:01 +00:00
parent e0ccc9fc38
commit bb76c92795

View File

@ -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();