Bug 36149: (follow-up) POD and tidy

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Nick Clemens 2024-03-29 18:09:30 +00:00 committed by Tomas Cohen Arazi
parent df23f6c345
commit ab715cab3a
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

View file

@ -5,8 +5,20 @@ use parent qw(Plack::Middleware);
use C4::Context;
=head1 NAME
Koha::Middleware::UserEnv - Middleware to ensure fresh userenv in all requests
=head1 METHODS
=head2 call
This method is called for each request, and will unset the userenv to avoid contamination between requests.
=cut
sub call {
my ( $self, $env ) =@_;
my ( $self, $env ) = @_;
my $req = Plack::Request->new($env);