From 3223b9f1872063b0c1ba864880449e40c68d590d Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Tue, 6 Sep 2005 03:41:20 +0000 Subject: Bug 304745: Move GetFieldID() out of globals.pl - Patch by Frédéric Buclin r=wicked a=justdave MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- globals.pl | 8 -------- 1 file changed, 8 deletions(-) (limited to 'globals.pl') 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; -- cgit v1.2.3-24-g4f1b