diff options
author | Dylan William Hardison <dylan@hardison.net> | 2017-07-03 00:46:48 +0200 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2017-07-07 00:19:20 +0200 |
commit | c05a32842ee123801b628f5fe0472cb6abbbafdb (patch) | |
tree | 6863912f5d307682ebaff749fb57a2bcc8f5ae9b /extensions/BMO | |
parent | 7176e6d8dabbdd577e99c18fccb99fc9a09e1760 (diff) | |
download | bugzilla-c05a32842ee123801b628f5fe0472cb6abbbafdb.tar.gz bugzilla-c05a32842ee123801b628f5fe0472cb6abbbafdb.tar.xz |
Bug 1376023 - Undo accidental reversion of bug 1352907
This reverts commit 38b13ae3f1885faa0da1d0040a0dda87dc786515.
* change __lbheartbeat__ to "httpd OK" again
Diffstat (limited to 'extensions/BMO')
-rw-r--r-- | extensions/BMO/Extension.pm | 5 |
1 files changed, 3 insertions, 2 deletions
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`; |