summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--globals.pl9
1 files changed, 0 insertions, 9 deletions
diff --git a/globals.pl b/globals.pl
index 0f7128c6e..deff2e043 100644
--- a/globals.pl
+++ b/globals.pl
@@ -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();