From 11a4bfc4016e0e2cd08ccc210730fc735a51de74 Mon Sep 17 00:00:00 2001 From: Sam Hemelryk Date: Tue, 14 Oct 2014 20:03:52 +1300 Subject: [PATCH] MDL-46151 cachestore_memcache: set_many now uses set --- cache/stores/memcache/lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cache/stores/memcache/lib.php b/cache/stores/memcache/lib.php index 264e3b94cce..049d8224aff 100644 --- a/cache/stores/memcache/lib.php +++ b/cache/stores/memcache/lib.php @@ -330,7 +330,7 @@ class cachestore_memcache extends cache_store implements cache_is_configurable { public function set_many(array $keyvaluearray) { $count = 0; foreach ($keyvaluearray as $pair) { - if ($this->connection->set($this->parse_key($pair['key']), $pair['value'], MEMCACHE_COMPRESSED, $this->definition->get_ttl())) { + if ($this->set($pair['key'], $pair['value'])) { $count++; } }