diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/statusnet.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/statusnet.php b/lib/statusnet.php index ef3adebf9..eba9ab9b8 100644 --- a/lib/statusnet.php +++ b/lib/statusnet.php @@ -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'])) { |