Mercurial > hg > isophonics-drupal-site
comparison vendor/doctrine/cache/lib/Doctrine/Common/Cache/MemcachedCache.php @ 12:7a779792577d
Update Drupal core to v8.4.5 (via Composer)
author | Chris Cannam |
---|---|
date | Fri, 23 Feb 2018 15:52:07 +0000 |
parents | 4c8ae668cc8c |
children |
comparison
equal
deleted
inserted
replaced
11:bfffd8d7479a | 12:7a779792577d |
---|---|
92 /** | 92 /** |
93 * {@inheritdoc} | 93 * {@inheritdoc} |
94 */ | 94 */ |
95 protected function doContains($id) | 95 protected function doContains($id) |
96 { | 96 { |
97 return false !== $this->memcached->get($id) | 97 $this->memcached->get($id); |
98 || $this->memcached->getResultCode() !== Memcached::RES_NOTFOUND; | 98 |
99 return $this->memcached->getResultCode() === Memcached::RES_SUCCESS; | |
99 } | 100 } |
100 | 101 |
101 /** | 102 /** |
102 * {@inheritdoc} | 103 * {@inheritdoc} |
103 */ | 104 */ |