Permalink
Browse files

Merge branch 'wip-MDL-38162-m24' of git://github.com/samhemelryk/mood…

…le into MOODLE_24_STABLE
  • Loading branch information...
2 parents 5fe9dcb + 7a3a576 commit a5ce98d52fd35189e16f6393654896b89bb10370 @stronk7 stronk7 committed Feb 26, 2013
Showing with 2 additions and 2 deletions.
  1. +1 −1 cache/stores/memcache/lib.php
  2. +1 −1 cache/stores/memcached/lib.php
@@ -116,8 +116,8 @@ public function __construct($name, array $configuration = array()) {
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);
}
/**
@@ -140,8 +140,8 @@ public function __construct($name, array $configuration = array()) {
$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);
}
/**

0 comments on commit a5ce98d

Please sign in to comment.