diff options
author | Dylan William Hardison <dylan@hardison.net> | 2018-06-28 18:29:00 +0200 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2018-06-28 22:42:02 +0200 |
commit | 7cf010d2aaae017c5d1d416894f8d98bbf2ee082 (patch) | |
tree | 4a60192b4a56a6cde0f9baf1813a3be980fdf115 /heartbeat.cgi | |
parent | 2a0aebca76f2d19d23ee771c189535487fc170ab (diff) | |
download | bugzilla-7cf010d2aaae017c5d1d416894f8d98bbf2ee082.tar.gz bugzilla-7cf010d2aaae017c5d1d416894f8d98bbf2ee082.tar.xz |
remove MOD_PERL bits
Diffstat (limited to 'heartbeat.cgi')
-rwxr-xr-x | heartbeat.cgi | 9 |
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 |