summaryrefslogtreecommitdiffstats
path: root/heartbeat.cgi
diff options
context:
space:
mode:
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