Merge pull request #2720 from nextcloud/fix-25692
[downstream] Do not validate return code is set is successful
This commit is contained in:
commit
dfc17c9ae1
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