From 605abeb08aa73d366224e481ffb17c72d376979f Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 8 Sep 2016 09:24:00 +0100 Subject: [PATCH] Bug 17261: The default memcached namespace is "koha" If no namespace is defined in ENV or the config, "koha" is used as the default memcached namespace (See Koha::Cache->new) Signed-off-by: Tomas Cohen Arazi Signed-off-by: Katrin Fischer Signed-off-by: Kyle M Hall --- about.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/about.pl b/about.pl index a8e836f492..c489515f26 100755 --- a/about.pl +++ b/about.pl @@ -72,8 +72,8 @@ if ( any { /(^psgi\.|^plack\.)/i } keys %ENV ) { } # Memcached configuration -my $memcached_servers = $ENV{MEMCACHED_SERVERS} // C4::Context->config('memcached_servers'); -my $memcached_namespace = $ENV{MEMCACHED_NAMESPACE} // C4::Context->config('memcached_namespace'); +my $memcached_servers = $ENV{MEMCACHED_SERVERS} || C4::Context->config('memcached_servers'); +my $memcached_namespace = $ENV{MEMCACHED_NAMESPACE} || C4::Context->config('memcached_namespace') // 'koha'; my $effective_caching_method = ref(Koha::Caches->get_instance->cache); -- 2.39.5