From ae1857494e5bc3dc6a4b87c0e0e329c0c76108bc Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Tue, 6 Mar 2007 00:33:37 +0000 Subject: Bug 312197: Templatize sanitycheck.cgi - Patch by Frédéric Buclin r/a=mkanat MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bugzilla/Template.pm | 38 -------------------------------------- 1 file changed, 38 deletions(-) (limited to 'Bugzilla/Template.pm') diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm index 800536cd5..42c45823e 100644 --- a/Bugzilla/Template.pm +++ b/Bugzilla/Template.pm @@ -187,22 +187,6 @@ sub getTemplateIncludePath { return Bugzilla->request_cache->{"template_include_path_$lang"}; } -sub put_header { - my $self = shift; - my $vars = {}; - ($vars->{'title'}, $vars->{'h1'}, $vars->{'h2'}) = (@_); - - $self->process("global/header.html.tmpl", $vars) - || ThrowTemplateError($self->error()); - $vars->{'header_done'} = 1; -} - -sub put_footer { - my $self = shift; - $self->process("global/footer.html.tmpl") - || ThrowTemplateError($self->error()); -} - sub get_format { my $self = shift; my ($template, $format, $ctype) = @_; @@ -924,10 +908,6 @@ Bugzilla::Template - Wrapper around the Template Toolkit C