mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
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:
parent
e0ccc9fc38
commit
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();
|
||||
|
Loading…
Reference in New Issue
Block a user