Bug 36098: Fix storage_method pass
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> (cherry picked from commit5572567143
) Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com> (cherry picked from commit941f34626a
) Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> (cherry picked from commit8914f906b4
) Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
This commit is contained in:
parent
516efe873e
commit
39181aa6ea
1 changed files with 2 additions and 1 deletions
|
@ -51,7 +51,8 @@ will be created.
|
|||
=cut
|
||||
|
||||
sub _get_session_params {
|
||||
my ( $class, $storage_method ) = @_;
|
||||
my ( $class, $args ) = @_;
|
||||
my $storage_method = $args->{storage_method};
|
||||
$storage_method ||= C4::Context->preference('SessionStorage');
|
||||
if ( $storage_method eq 'mysql' ) {
|
||||
my $dbh = C4::Context->dbh;
|
||||
|
|
Loading…
Reference in a new issue