Loading src/MemcacheBackend.php +11 −2 Original line number Diff line number Diff line Loading @@ -116,9 +116,18 @@ class MemcacheBackend implements CacheBackendInterface { } /** * {@inheritdoc} * Determines if the cache item is valid. * * This also alters the valid property of the cache item itself. * * @param string $cid * The cache ID. * @param \stdClass $cache * The cache item. * * @return bool */ protected function valid($cid, $cache) { protected function valid($cid, \stdClass $cache) { $lock_key = "memcache_$cid:$this->bin"; $cache->valid = FALSE; Loading Loading
src/MemcacheBackend.php +11 −2 Original line number Diff line number Diff line Loading @@ -116,9 +116,18 @@ class MemcacheBackend implements CacheBackendInterface { } /** * {@inheritdoc} * Determines if the cache item is valid. * * This also alters the valid property of the cache item itself. * * @param string $cid * The cache ID. * @param \stdClass $cache * The cache item. * * @return bool */ protected function valid($cid, $cache) { protected function valid($cid, \stdClass $cache) { $lock_key = "memcache_$cid:$this->bin"; $cache->valid = FALSE; Loading