summaryrefslogtreecommitdiffstats
path: root/heartbeat.cgi
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2018-06-28 18:29:00 +0200
committerDylan William Hardison <dylan@hardison.net>2018-06-28 22:42:02 +0200
commit7cf010d2aaae017c5d1d416894f8d98bbf2ee082 (patch)
tree4a60192b4a56a6cde0f9baf1813a3be980fdf115 /heartbeat.cgi
parent2a0aebca76f2d19d23ee771c189535487fc170ab (diff)
downloadbugzilla-7cf010d2aaae017c5d1d416894f8d98bbf2ee082.tar.gz
bugzilla-7cf010d2aaae017c5d1d416894f8d98bbf2ee082.tar.xz
remove MOD_PERL bits
Diffstat (limited to 'heartbeat.cgi')
-rwxr-xr-xheartbeat.cgi9
1 files changed, 1 insertions, 8 deletions
diff --git a/heartbeat.cgi b/heartbeat.cgi
index 7f4f6361e..b3635751b 100755
--- a/heartbeat.cgi
+++ b/heartbeat.cgi
@@ -35,11 +35,4 @@ FATAL("heartbeat error: $@") if !$ok && $@;
my $cgi = Bugzilla->cgi;
print $cgi->header(-type => 'text/plain', -status => $ok ? '200 OK' : '500 Internal Server Error');
-print $ok ? "Bugzilla OK\n" : "Bugzilla NOT OK\n";
-
-if ($ENV{MOD_PERL}) {
- my $r = $cgi->r;
- # doing this supresses the error document, but does not change the http response code.
- $r->rflush;
- $r->status(200);
-}
+print $ok ? "Bugzilla OK\n" : "Bugzilla NOT OK\n"; \ No newline at end of file