[Koha-bugs] [Bug 36098] Create Koha::Session module

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Mar 1 09:14:11 CET 2024


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

--- Comment #16 from Jonathan Druart <jonathan.druart at gmail.com> ---
(In reply to David Cook from comment #15)
> Comment on attachment 162314 [details] [review]
> Bug 36098: Default to 'file' if pref does not exist
> 
> Review of attachment 162314 [details] [review]:
> -----------------------------------------------------------------
> 
> ::: Koha/Session.pm
> @@ +53,4 @@
> >  sub _get_session_params {
> >      my ( $class, $args ) = @_;
> >      my $storage_method = $args->{storage_method};
> > +    $storage_method ||= C4::Context->preference('SessionStorage') || 'file';
> 
> This isn't very human-friendly to read.

Really? This is trivial Perl...

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


More information about the Koha-bugs mailing list