Bugzilla – Attachment 55313 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.18 KB, created by
Tomás Cohen Arazi (tcohen)
on 2016-09-07 15:52:57 UTC
(
hide
)
Description:
Bug 11921: C4::Context->memcached does no longer exist
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2016-09-07 15:52:57 UTC
Size:
1.18 KB
patch
obsolete
>From ac92090964fe37b2728b9419d2ade91e103d4733 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 > >Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > 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.7.4
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