View | Details | Raw Unified | Return to bug 11921
Collapse All | Expand All

(-)a/C4/Auth.pm (-2 / +2 lines)
Lines 1729-1735 sub get_session { Link Here
1729
        $session = new CGI::Session( "driver:PostgreSQL;serializer:yaml;id:md5", $sessionID, { Handle => $dbh } );
1729
        $session = new CGI::Session( "driver:PostgreSQL;serializer:yaml;id:md5", $sessionID, { Handle => $dbh } );
1730
    }
1730
    }
1731
    elsif ( $storage_method eq 'memcached' && Koha::Caches->get_instance->memcached_cache ) {
1731
    elsif ( $storage_method eq 'memcached' && Koha::Caches->get_instance->memcached_cache ) {
1732
        $session = new CGI::Session( "driver:memcached;serializer:yaml;id:md5", $sessionID, { Memcached => C4::Context->memcached } );
1732
        my $memcached = Koha::Caches->get_instance()->memcached_cache;
1733
        $session = new CGI::Session( "driver:memcached;serializer:yaml;id:md5", $sessionID, { Memcached => $memcached } );
1733
    }
1734
    }
1734
    else {
1735
    else {
1735
        # catch all defaults to tmp should work on all systems
1736
        # catch all defaults to tmp should work on all systems
1736
- 

Return to bug 11921