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
Родитель e0ccc9fc38
Коммит bb76c92795
1 изменённых файлов: 0 добавлений и 9 удалений

Просмотреть файл

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