diff options
author | Victor Dubiniuk <victor.dubiniuk@gmail.com> | 2016-12-12 16:51:27 +0300 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2016-12-16 17:33:28 +0100 |
commit | c5754a5ec5370e50a2ef41ee23ceff0544db1db3 (patch) | |
tree | d0f71c9e7f085c2934dd6596ab1093d247320aa6 /lib/private/Memcache | |
parent | b0c1460a1d7d71cb752637b42154cd515c2b489e (diff) | |
download | nextcloud-server-c5754a5ec5370e50a2ef41ee23ceff0544db1db3.tar.gz nextcloud-server-c5754a5ec5370e50a2ef41ee23ceff0544db1db3.zip |
Do not validate return code is set is successful
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'lib/private/Memcache')
-rw-r--r-- | lib/private/Memcache/Memcached.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/private/Memcache/Memcached.php b/lib/private/Memcache/Memcached.php index 12f45739374..f0cb4ae99db 100644 --- a/lib/private/Memcache/Memcached.php +++ b/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; } |