We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd41ec0 commit 82b22daCopy full SHA for 82b22da
lib/Drupal/Core/Cache/MemoryBackend.php
@@ -156,7 +156,8 @@ public function invalidate($cid) {
156
* {@inheritdoc}
157
*/
158
public function invalidateMultiple(array $cids) {
159
- foreach ($cids as $cid) {
+ $items = array_intersect_key($this->cache, array_flip($cids));
160
+ foreach ($items as $cid => $item) {
161
$this->cache[$cid]->expire = $this->getRequestTime() - 1;
162
}
163
0 commit comments