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
|
@ -110,7 +110,9 @@ class Memcached extends Cache implements IMemcache {
|
||||||
} else {
|
} else {
|
||||||
$result = self::$cache->set($this->getNamespace() . $key, $value);
|
$result = self::$cache->set($this->getNamespace() . $key, $value);
|
||||||
}
|
}
|
||||||
$this->verifyReturnCode();
|
if ($result !== true) {
|
||||||
|
$this->verifyReturnCode();
|
||||||
|
}
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue