summaryrefslogtreecommitdiffstats
path: root/globals.pl
diff options
context:
space:
mode:
Diffstat (limited to 'globals.pl')
-rw-r--r--globals.pl8
1 files changed, 0 insertions, 8 deletions
diff --git a/globals.pl b/globals.pl
index 46ceebc74..7605ffe0f 100644
--- a/globals.pl
+++ b/globals.pl
@@ -108,14 +108,6 @@ $::SIG{PIPE} = 'IGNORE';
#}
#$::SIG{__DIE__} = \&die_with_dignity;
-sub GetFieldID {
- my ($f) = (@_);
- SendSQL("SELECT fieldid FROM fielddefs WHERE name = " . SqlQuote($f));
- my $fieldid = FetchOneColumn();
- die "Unknown field id: $f" if !$fieldid;
- return $fieldid;
-}
-
# XXXX - this needs to go away
sub GenerateVersionTable {
my $dbh = Bugzilla->dbh;