summaryrefslogtreecommitdiffstats
path: root/globals.pl
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-10-26 04:06:01 +0200
committerlpsolit%gmail.com <>2005-10-26 04:06:01 +0200
commit1b61f682dc293f665ae6ddc3c90547906fde144e (patch)
treec5d7a1e1f94c62855c60a321e6b25391e4a9aa99 /globals.pl
parent6ccdb432f3782565f192727c4e9306aa9eb91ef1 (diff)
downloadbugzilla-1b61f682dc293f665ae6ddc3c90547906fde144e.tar.gz
bugzilla-1b61f682dc293f665ae6ddc3c90547906fde144e.tar.xz
Bug 313131: Remove the unused get_classification_id() routine - Patch by Frédéric Buclin <LpSolit@gmail.com> r=joel a=myk
Diffstat (limited to 'globals.pl')
-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();