From ff6f9d3aa64ff8a0cde037f8b6342352ea818c45 Mon Sep 17 00:00:00 2001 From: Sam Hemelryk Date: Fri, 22 Feb 2013 14:23:18 +1300 Subject: [PATCH] MDL-38162 memcache: fixed up the memcache plugins --- cache/stores/memcache/lib.php | 2 +- cache/stores/memcached/lib.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cache/stores/memcache/lib.php b/cache/stores/memcache/lib.php index 193f5c77082..c457cc06e5c 100644 --- a/cache/stores/memcache/lib.php +++ b/cache/stores/memcache/lib.php @@ -116,8 +116,8 @@ class cachestore_memcache extends cache_store implements cache_is_configurable { foreach ($this->servers as $server) { $this->connection->addServer($server[0], $server[1], true, $server[2]); // Test the connection to this server. - $this->isready = @$this->connection->set("ping", 'ping', MEMCACHE_COMPRESSED, 1); } + $this->isready = @$this->connection->set("ping", 'ping', MEMCACHE_COMPRESSED, 1); } /** diff --git a/cache/stores/memcached/lib.php b/cache/stores/memcached/lib.php index 77d227561de..98d3955eacd 100644 --- a/cache/stores/memcached/lib.php +++ b/cache/stores/memcached/lib.php @@ -140,8 +140,8 @@ class cachestore_memcached extends cache_store implements cache_is_configurable $this->connection->setOption($key, $value); } $this->connection->addServers($this->servers); - $this->isready = @$this->connection->set("ping", 'ping', 1); } + $this->isready = @$this->connection->set("ping", 'ping', 1); } /**