diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pgsqlschema.php | 1 | ||||
-rw-r--r-- | lib/statusnet.php | 6 |
2 files changed, 1 insertions, 6 deletions
diff --git a/lib/pgsqlschema.php b/lib/pgsqlschema.php index afb498f4a..715065d77 100644 --- a/lib/pgsqlschema.php +++ b/lib/pgsqlschema.php @@ -1,4 +1,3 @@ - <?php /** * StatusNet, the distributed open-source microblogging tool 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'])) { |