Bugzilla – Attachment 22829 Details for
Bug 11167
Remove memcached config from koha-conf-site.xml.in
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11167: QA-followup - C4::SQLHelper still used the koha-conf.xml entries
Bug-11167-QA-followup---C4SQLHelper-still-used-the.patch (text/plain), 1.28 KB, created by
Tomás Cohen Arazi (tcohen)
on 2013-11-08 15:31:43 UTC
(
hide
)
Description:
Bug 11167: QA-followup - C4::SQLHelper still used the koha-conf.xml entries
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2013-11-08 15:31:43 UTC
Size:
1.28 KB
patch
obsolete
>From 4de98488b40f7da04abb1cce7f9db7c7fae721b8 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@gmail.com> >Date: Fri, 8 Nov 2013 12:26:55 -0300 >Subject: [PATCH] Bug 11167: QA-followup - C4::SQLHelper still used the > koha-conf.xml entries > >There was still some use of the koha-conf.xml memcached_servers and >memcached_namespace configuration in C4::SQLHelper. This followup >removes that remaining bits. > >Regards >To+ > >Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com> >--- > C4/SQLHelper.pm | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/C4/SQLHelper.pm b/C4/SQLHelper.pm >index f1fa7b5..f6c41c9 100644 >--- a/C4/SQLHelper.pm >+++ b/C4/SQLHelper.pm >@@ -28,14 +28,14 @@ require Exporter; > use vars qw($VERSION @ISA @EXPORT_OK %EXPORT_TAGS); > > eval { >- my $servers = C4::Context->config('memcached_servers'); >+ my $servers = $ENV{'MEMCACHED_SERVERS'}; > if ($servers) { > require Memoize::Memcached; > import Memoize::Memcached qw(memoize_memcached); > > my $memcached = { > servers => [$servers], >- key_prefix => C4::Context->config('memcached_namespace') || 'koha', >+ key_prefix => $ENV{'MEMCACHED_NAMESPACE'} || 'koha', > expire_time => 600 > }; # cache for 10 mins > >-- >1.7.9.5
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 11167
:
22576
|
22614
|
22828
| 22829