Bugzilla – Attachment 80238 Details for
Bug 21426
setting USE_MEMCACHED to "no" in koha-sites.conf does not have any effect
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21426: Handle USE_MEMCACHED=no in koha-create
Bug-21426-Handle-USEMEMCACHEDno-in-koha-create.patch (text/plain), 1.16 KB, created by
Chris Cormack
on 2018-10-08 21:04:52 UTC
(
hide
)
Description:
Bug 21426: Handle USE_MEMCACHED=no in koha-create
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2018-10-08 21:04:52 UTC
Size:
1.16 KB
patch
obsolete
>From 3256bfbf5c18e5937881c835a75a28657470aa1c Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Sat, 29 Sep 2018 15:16:46 -0300 >Subject: [PATCH] Bug 21426: Handle USE_MEMCACHED=no in koha-create > >Signed-off-by: Andreas Roussos <arouss1980@gmail.com> > >Works as intended. I've set USE_MEMCACHED to "no" and created a new >Koha instance. Home > About now reports this information: Memcached: >Servers: undefined | Namespace: undefined | Status: unknown | Config >read from: Nowhere [...] | Effective caching method: Cache::Memory > >Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> >--- > debian/scripts/koha-create | 8 +++++++- > 1 file changed, 7 insertions(+), 1 deletion(-) > >diff --git a/debian/scripts/koha-create b/debian/scripts/koha-create >index 74c8cf92e6..5f90f90a2e 100755 >--- a/debian/scripts/koha-create >+++ b/debian/scripts/koha-create >@@ -506,7 +506,13 @@ NO_DB > die; > fi > >-set_memcached $name >+if [ "$USE_MEMCACHED" = "no" ]; then >+ MEMCACHED_SERVERS="" >+ MEMCACHED_NAMESPACE="" >+ MEMCACHED_PREFIX="" >+else >+ set_memcached $name >+fi > > # Set template cache dir > if [ "$CLO_TEMPLATE_CACHE_DIR" != "" ]; then >-- >2.19.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 21426
:
79481
|
79603
|
79617
|
79660
|
79718
| 80238