Bug 10733: Follow up - unset variables from koha-sites.conf if USE_MEMCACHED=no

As configuration variables from koha-sites.conf overwrite the ones in the
koha-create script we need to unset them in case we have USE_MEMCACHED="no".

Sponsored-by: Universidad Nacional de Cordoba
Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Robin Sheat <robin@catalyst.net.nz>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
This commit is contained in:
Tomas Cohen Arazi 2013-09-13 10:14:30 -03:00 committed by Galen Charlton
parent c6f091cc23
commit fb1748ee8b
1 changed files with 4 additions and 0 deletions

View File

@ -343,6 +343,10 @@ EOF`
echo $usage
die $MSG
else
# Unset memcached-related variables
MEMCACHED_SERVERS=""
MEMCACHED_PREFIX=""
fi
opacdomain="$OPACPREFIX$name$OPACSUFFIX$DOMAIN"