[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
Fri Apr 30 17:26:04 CEST 2021


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

Victor Grousset/tuxayo <victor at tuxayo.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #114431|0                           |1
        is obsolete|                            |

--- Comment #7 from Victor Grousset/tuxayo <victor at tuxayo.net> ---
Created attachment 120346
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=120346&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

Signed-off-by: Victor Grousset/tuxayo <victor at tuxayo.net>
Signed-off-by: David Cook <dcook at prosentient.com.au>

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


More information about the Koha-bugs mailing list