Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 295102

Clean up calls directly to $cache_bin->deleteTags()

$
0
0

Problem/Motivation

A couple of calls still remain/have crept in to deleteTags() directly on bins. We don't really want to do this as it only clears tags for one bin, but also tag validity is not checked. So E.g. this is still around and 'working':

<?php
$this
->cache->deleteTags(array(
  static::
TOKEN_INFO_CACHE_TAG => TRUE,
));
?>

Proposed resolution

Just fix it (Until we resolve #918538: Decouple cache tags from cache bins this will still be an issue anyway).

Remaining tasks

User interface changes

None

API changes

None


Viewing all articles
Browse latest Browse all 295102

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>