Commit e3455b46 authored by Victor Dubiniuk's avatar Victor Dubiniuk
Browse files

Do not validate return code is set is successful

parent 7313ee1f
......@@ -110,7 +110,9 @@ class Memcached extends Cache implements IMemcache {
} else {
$result = self::$cache->set($this->getNamespace() . $key, $value);
}
$this->verifyReturnCode();
if ($result !== true) {
$this->verifyReturnCode();
}
return $result;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment