[Koha-bugs] [Bug 27246] Remove apache only code from C4::Context BEGIN

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Dec 16 11:10:29 CET 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27246

--- Comment #1 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 114431
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=114431&action=edit
Bug 27246: Remove obsolete BEGIN code from C4::Context

We don't longer enter the HTTP_USER_AGENT conditional in the BEGIN block
of C4::Context. It was used when apache only was used.

I am suggesting to remove it but keep the $CGI::VERSION < 4.08 condition
to keep support of all version (not sure it's needed but won't hurt).

I have not found a lot of occurrences of KOHA_BACKTRACES and I am
assuming not much people are using it, we should prefer the dev_install
flag instead (to set environment="development" when plack is started and
enabled the starman trace)

Test plan:
Regression test what you think is useful
Confirm the above statements

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list