Skip to content
Permalink
Browse files

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>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
  • Loading branch information...
joubu authored and kidclamp committed Sep 29, 2018
1 parent 967e205 commit ffca9decadf539018e447237e56bce76c81bdd64
Showing with 7 additions and 1 deletion.
  1. +7 −1 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

0 comments on commit ffca9de

Please sign in to comment.
You can’t perform that action at this time.