From 2a5664ad1abf679b9e50a6c409902ce2ef638cc5 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Thu, 25 Aug 2005 21:02:39 +0000 Subject: Bug 208761: Move GetFormat() from globals.pl into Bugzilla::Template - 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 --- config.cgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config.cgi') diff --git a/config.cgi b/config.cgi index bbffe20d8..e3ecef3ff 100755 --- a/config.cgi +++ b/config.cgi @@ -87,8 +87,8 @@ $vars->{'field'} = [Bugzilla->dbh->bz_get_field_defs()]; # Determine how the user would like to receive the output; # default is JavaScript. my $cgi = Bugzilla->cgi; -my $format = GetFormat("config", scalar($cgi->param('format')), - scalar($cgi->param('ctype')) || "js"); +my $format = $template->get_format("config", scalar($cgi->param('format')), + scalar($cgi->param('ctype')) || "js"); # Return HTTP headers. print "Content-Type: $format->{'ctype'}\n\n"; -- cgit v1.2.3-65-gdbad