This reverts commit
6b319a2d487257e8a08bc26af9c6b2e7fa2ece2c.
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Tested with memcached and without MEMCACHED_SERVERS.
Cache.t, Context.t and sysprefs.t pass now.
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
# Unless memcache or fastmmap has already been picked, use memory_cache
unless ( defined( $self->{'cache'} ) ) {
- if ( can_load( modules => { 'Cache::Memory' => undef, nocache => 1 } )
+ if ( can_load( modules => { 'Cache::Memory' => undef } )
&& _initialize_memory($self) )
{
$self->{'cache'} = $self->{'memory_cache'};