Bug 36098: Fix storage_method pass
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 5572567143
)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
be03ca910f
commit
941f34626a
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