summaryrefslogtreecommitdiffstats
path: root/sanitycheck.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-07-22 14:13:36 +0200
committerlpsolit%gmail.com <>2005-07-22 14:13:36 +0200
commite7d2b86c2765c3a8e853526683ceacdb260a7996 (patch)
tree90fc70fd199e7bfc5ae5656ceadafbe6c8afe4d7 /sanitycheck.cgi
parentd0303ab3ecb54eef2ed1b5e55839eada16748416 (diff)
downloadbugzilla-e7d2b86c2765c3a8e853526683ceacdb260a7996.tar.gz
bugzilla-e7d2b86c2765c3a8e853526683ceacdb260a7996.tar.xz
Bug 301507: Move PutHeader and PutFooter into Template.pm - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=justdave
Diffstat (limited to 'sanitycheck.cgi')
-rwxr-xr-xsanitycheck.cgi7
1 files changed, 4 insertions, 3 deletions
diff --git a/sanitycheck.cgi b/sanitycheck.cgi
index c091e1041..00a7ef0c5 100755
--- a/sanitycheck.cgi
+++ b/sanitycheck.cgi
@@ -75,6 +75,7 @@ Bugzilla->login(LOGIN_REQUIRED);
my $cgi = Bugzilla->cgi;
my $dbh = Bugzilla->dbh;
+my $template = Bugzilla->template;
# Make sure the user is authorized to access sanitycheck.cgi. Access
# is restricted to logged-in users who have "editbugs" privileges,
@@ -92,7 +93,7 @@ print $cgi->header();
my @row;
-PutHeader("Bugzilla Sanity Check");
+$template->put_header("Bugzilla Sanity Check");
###########################################################################
# Fix vote cache
@@ -272,7 +273,7 @@ if (defined $cgi->param('rescanallBugMail')) {
Status("Unsent mail has been sent.");
}
- PutFooter();
+ $template->put_footer();
exit;
}
@@ -887,4 +888,4 @@ if (@badbugs > 0) {
###########################################################################
Status("Sanity check completed.");
-PutFooter();
+$template->put_footer();