Skip to content
Permalink
Browse files

Doble slashes completly removed

  • Loading branch information...
TamiasSibiricus committed Jul 13, 2014
1 parent 6eaa4f9 commit 540e861260c619ce92415fba25e9723822e922dc
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/Cache/Engine/MemcachedEngine.php
@@ -109,7 +109,7 @@ public function init(array $config = []) {
'json' => \Memcached::SERIALIZER_JSON,
'php' => \Memcached::SERIALIZER_PHP
];
if (defined('\\Memcached::HAVE_MSGPACK') && \Memcached::HAVE_MSGPACK) {
if (defined('Memcached::HAVE_MSGPACK') && \Memcached::HAVE_MSGPACK) {
$this->_serializers['msgpack'] = \Memcached::SERIALIZER_MSGPACK;
}
@@ -177,7 +177,7 @@ protected function _setOptions() {
);
}
if ($serializer !== 'php' && !constant('\\Memcached::HAVE_' . strtoupper($serializer))) {
if ($serializer !== 'php' && !constant('Memcached::HAVE_' . strtoupper($serializer))) {
throw new Error\Exception(
sprintf('Memcached extension is not compiled with %s support', $serializer)
);
@@ -186,7 +186,7 @@ protected function _setOptions() {
$this->_Memcached->setOption(\Memcached::OPT_SERIALIZER, $this->_serializers[$serializer]);
// Check for Amazon ElastiCache instance
if (defined('\\Memcached::OPT_CLIENT_MODE') && defined('\\Memcached::DYNAMIC_CLIENT_MODE')) {
if (defined('Memcached::OPT_CLIENT_MODE') && defined('Memcached::DYNAMIC_CLIENT_MODE')) {
$this->_Memcached->setOption(\Memcached::OPT_CLIENT_MODE, \Memcached::DYNAMIC_CLIENT_MODE);
}

0 comments on commit 540e861

Please sign in to comment.
You can’t perform that action at this time.