Why was this removed?

Wunderbar will select which of the two blocks to execute based on the
"ACCEPT" header.

- Sam Ruby

On Sat, Sep 26, 2020 at 6:40 PM <s...@apache.org> wrote:
>
> This is an automated email from the ASF dual-hosted git repository.
>
> sebb pushed a commit to branch master
> in repository https://gitbox.apache.org/repos/asf/whimsy.git
>
>
> The following commit(s) were added to refs/heads/master by this push:
>      new 5aae43a  Can't have _json in same script as _html
> 5aae43a is described below
>
> commit 5aae43a40e866099885a8a6072135a98a96ed379
> Author: Sebb <s...@apache.org>
> AuthorDate: Sat Sep 26 23:39:56 2020 +0100
>
>     Can't have _json in same script as _html
>
>     _json block does not execute
> ---
>  www/members/nominations.cgi | 9 ---------
>  1 file changed, 9 deletions(-)
>
> diff --git a/www/members/nominations.cgi b/www/members/nominations.cgi
> index 2ed4788..c6945f6 100755
> --- a/www/members/nominations.cgi
> +++ b/www/members/nominations.cgi
> @@ -142,12 +142,3 @@ _html do
>      end
>    end
>  end
> -
> -# produce JSON output of reports
> -_json do
> -  _ reports do |mail|
> -    _subject mail.subject
> -    _link MBOX + URI.escape('<' + mail.message_id + '>')
> -    _missing missing.any? {|title| mail.subject.downcase =~ /\b#{title}\b/}
> -  end
> -end
>

Reply via email to