Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Part of #1577902: [META] Remove all usages of drupal_static() & drupal_static_reset() effort. This line drupal_static_reset('taxonomy_term_count_nodes');
exists in \Drupal\taxonomy\TermStorage::resetCache()
. But no code sets that static cache, there's no taxonomy_term_count_nodes()
function in core. It was probably left there after a refactoring.
Proposed resolution
Remove the line.
Remaining tasks
None.
User interface changes
None.
API changes
None.
Data model changes
None.
Release notes snippet
N/A
Comment | File | Size | Author |
---|---|---|---|
#2 | 3039055-2.patch | 516 bytes | claudiu.cristea |
Comments
Comment #2
claudiu.cristeaPatch.
Comment #7
tedbowI checked the assumption in the issue summary and yes this seems like a useless line.
The patch applies to 9.3.x also so switching that version
If tests on 9.3.x come back green I will RTBC
Comment #8
tedbow9.3.x test are green 🎉 RTBC
@claudiu.cristea thanks for the patch
Comment #10
effulgentsia CreditAttribution: effulgentsia at Acquia commentedThank you. Pushed to 9.3.x.