Bugzilla – Attachment 55258 Details for
Bug 11921
Move memcached configuration back to koha-conf.xml
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11921: C4::Context->memcached does no longer exist
Bug-11921-C4Context-memcached-does-no-longer-exist.patch (text/plain), 1.08 KB, created by
Jonathan Druart
on 2016-09-06 14:21:19 UTC
(
hide
)
Description:
Bug 11921: C4::Context->memcached does no longer exist
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-09-06 14:21:19 UTC
Size:
1.08 KB
patch
obsolete
>From 3129fec43648d2bd4e4ef0995854ff56b32ff897 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 6 Sep 2016 15:20:25 +0100 >Subject: [PATCH] Bug 11921: C4::Context->memcached does no longer exist > >--- > C4/Auth.pm | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/C4/Auth.pm b/C4/Auth.pm >index 1bbe978..29d06fb 100644 >--- a/C4/Auth.pm >+++ b/C4/Auth.pm >@@ -1729,7 +1729,8 @@ sub get_session { > $session = new CGI::Session( "driver:PostgreSQL;serializer:yaml;id:md5", $sessionID, { Handle => $dbh } ); > } > elsif ( $storage_method eq 'memcached' && Koha::Caches->get_instance->memcached_cache ) { >- $session = new CGI::Session( "driver:memcached;serializer:yaml;id:md5", $sessionID, { Memcached => C4::Context->memcached } ); >+ my $memcached = Koha::Caches->get_instance()->memcached_cache; >+ $session = new CGI::Session( "driver:memcached;serializer:yaml;id:md5", $sessionID, { Memcached => $memcached } ); > } > else { > # catch all defaults to tmp should work on all systems >-- >2.8.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 11921
:
54818
|
54819
|
54820
|
55169
|
55170
|
55171
|
55258
|
55259
|
55268
|
55269
|
55270
|
55271
|
55272
|
55310
|
55311
|
55312
|
55313
|
55314
|
55315
|
55441