Merge pull request #2720 from nextcloud/fix-25692

[downstream] Do not validate return code is set is successful
This commit is contained in:
Roeland Jago Douma 2016-12-17 19:27:23 +01:00 committed by GitHub
commit dfc17c9ae1

View file

@ -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;
}