mirror of
https://github.com/nextcloud/server.git
synced 2026-06-19 21:49:43 -04:00
Do not validate return code is set is successful
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
This commit is contained in:
parent
b0c1460a1d
commit
c5754a5ec5
1 changed files with 3 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue