From c05a32842ee123801b628f5fe0472cb6abbbafdb Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Sun, 2 Jul 2017 15:46:48 -0700 Subject: Bug 1376023 - Undo accidental reversion of bug 1352907 This reverts commit 38b13ae3f1885faa0da1d0040a0dda87dc786515. * change __lbheartbeat__ to "httpd OK" again --- extensions/BMO/Extension.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'extensions/BMO') diff --git a/extensions/BMO/Extension.pm b/extensions/BMO/Extension.pm index 99986f89f..09bd347d2 100644 --- a/extensions/BMO/Extension.pm +++ b/extensions/BMO/Extension.pm @@ -2532,15 +2532,16 @@ sub install_filesystem { my $extensions_dir = bz_locations()->{extensionsdir}; $create_files->{__lbheartbeat__} = { perms => Bugzilla::Install::Filesystem::WS_SERVE, - overwrite => 1, + overwrite => 1, # the original value for this was wrong, overwrite it contents => 'httpd OK', }; + # version.json needs to have a source attribute pointing to # our repository. We already have this information in the (static) # contribute.json file, so parse that in my $json = JSON::XS->new->pretty->utf8->canonical(); - my $contribute = eval { + my $contribute = eval { $json->decode(scalar read_file(bz_locations()->{cgi_path} . "/contribute.json")); }; my $commit = `git rev-parse HEAD`; -- cgit v1.2.3-24-g4f1b