summaryrefslogtreecommitdiffstats
path: root/heartbeat.cgi
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2017-05-26 23:51:33 +0200
committerDylan William Hardison <dylan@hardison.net>2017-05-26 23:51:43 +0200
commita4da180a2d7ae9c396dca20e4beae7177524bf59 (patch)
tree1cf11de80531a2b14ff113a619403480218c7203 /heartbeat.cgi
parentffe838a923696f81e8d8e1f24c5dc7a568cbc6ac (diff)
downloadbugzilla-a4da180a2d7ae9c396dca20e4beae7177524bf59.tar.gz
bugzilla-a4da180a2d7ae9c396dca20e4beae7177524bf59.tar.xz
Bug 1365731 - heartbeat.cgi must check Bugzilla->has_feature("bmo")
Diffstat (limited to 'heartbeat.cgi')
-rwxr-xr-xheartbeat.cgi1
1 files changed, 1 insertions, 0 deletions
diff --git a/heartbeat.cgi b/heartbeat.cgi
index e26dfe6ba..d84a4e8ea 100755
--- a/heartbeat.cgi
+++ b/heartbeat.cgi
@@ -30,6 +30,7 @@ my $ok = eval {
die "memcached server(s) not available" unless $memcached_ok;
die "mod_perl not configured?" unless $ENV{MOD_PERL};
die "BUGZILLA_UNSAFE_AUTH_DELEGATION" if $ENV{BUGZILLA_UNSAFE_AUTH_DELEGATION};
+ die "missing bmo feature dependencies" unless Bugzilla->has_feature('bmo');
1;
};
warn "heartbeat error: $@" if !$ok && $@;