forked from GNUsocial/gnu-social
		
	Don't switch people from the Memcache to Memcached plugin without their knowledge when using back-compatibility $config['memcached']['enabled']. Performance characteristics for Memcached version on large-scale sites not tested yet.
New installations should be using addPlugin explicitly.
This commit is contained in:
		| @@ -342,11 +342,7 @@ class StatusNet | ||||
|  | ||||
|         if (array_key_exists('memcached', $config)) { | ||||
|             if ($config['memcached']['enabled']) { | ||||
|                 if(class_exists('Memcached')) { | ||||
|                     addPlugin('Memcached', array('servers' => $config['memcached']['server'])); | ||||
|                 } else { | ||||
|                     addPlugin('Memcache', array('servers' => $config['memcached']['server'])); | ||||
|                 } | ||||
|                 addPlugin('Memcache', array('servers' => $config['memcached']['server'])); | ||||
|             } | ||||
|  | ||||
|             if (!empty($config['memcached']['base'])) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user