Merge branch 'm25_MDL-41410_Move_Comment_To_Appropriate_Place' of https://github.com/scara/moodle into MOODLE_25_STABLE
This commit is contained in:
Vendored
+1
-1
@@ -132,8 +132,8 @@ class cachestore_memcache extends cache_store implements cache_is_configurable {
|
||||
$this->connection = new Memcache;
|
||||
foreach ($this->servers as $server) {
|
||||
$this->connection->addServer($server[0], $server[1], true, $server[2]);
|
||||
// Test the connection to this server.
|
||||
}
|
||||
// Test the connection to the pool of servers.
|
||||
$this->isready = @$this->connection->set($this->parse_key('ping'), 'ping', MEMCACHE_COMPRESSED, 1);
|
||||
}
|
||||
|
||||
|
||||
Vendored
+1
@@ -141,6 +141,7 @@ class cachestore_memcached extends cache_store implements cache_is_configurable
|
||||
}
|
||||
$this->connection->addServers($this->servers);
|
||||
}
|
||||
// Test the connection to the pool of servers.
|
||||
$this->isready = @$this->connection->set("ping", 'ping', 1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user