Do not validate return code is set is successful

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
pull/2720/head
Victor Dubiniuk 9 years ago committed by Lukas Reschke
parent b0c1460a1d
commit c5754a5ec5
No known key found for this signature in database
GPG Key ID: B9F6980CF6E759B1
  1. 4
      lib/private/Memcache/Memcached.php

@ -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…
Cancel
Save