By berdir on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
11.4.x
Introduced in version:
11.4.0
Issue links:
Description:
This method was used in \Drupal\views\Plugin\views\cache\CachePluginBase::cacheGet() to ensure that existing caches were not expired.
The cache expiration is also set in \Drupal\views\Plugin\views\cache\CachePluginBase::cacheSet() based on \Drupal\views\Plugin\views\cache\CachePluginBase::cacheSetMaxAge(), the cache system will not return expired results.
It is safe to remove calls to cacheExpire() and remove checking this in any core version, the logic in cacheGet() was unnecessary at least since Drupal 8.0.
Impacts:
Module developers