зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
e0ccc9fc38
Коммит
bb76c92795
|
@ -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();
|
||||
|
|
Загрузка…
Ссылка в новой задаче