]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1365731 - heartbeat.cgi must check Bugzilla->has_feature("bmo")
authorDylan William Hardison <dylan@hardison.net>
Fri, 26 May 2017 21:51:33 +0000 (17:51 -0400)
committerDylan William Hardison <dylan@hardison.net>
Fri, 26 May 2017 21:51:43 +0000 (17:51 -0400)
heartbeat.cgi

index e26dfe6bafb888a62a9cf486277586b275bc14f8..d84a4e8ead24143c357ff3e9b9721479c857a800 100755 (executable)
@@ -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 && $@;