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.
Reference:
http://api.drupal.org/api/drupal/includes--bootstrap.inc/function/drupal...
Some of our static caching is for internal module functionality, like taxonomy_access_disable_list()
and taxonomy_access_affected_nodes()
. However, other stuff is just cached to reduce database queries, in:
_taxonomy_access_user_roles()
_taxonomy_access_get_descendants()
taxonomy_access_global_defaults()
taxonomy_access_user_list_terms()
taxonomy_access_user_create_terms()
The static declarations in these functions should probably be replaced by drupal_static()
.
Comment | File | Size | Author |
---|---|---|---|
#2 | use_drupal_static-1207268-2.patch | 2.19 KB | sammyd56 |
Comments
Comment #1
xjmThis would be a good novice issue.
Comment #2
sammyd56 CreditAttribution: sammyd56 commentedDoes this look OK?
Comment #3
xjmPerfect, thanks!
http://drupal.org/commitlog/commit/364/3baef3bcee1b3e711bcc3addabfd46f77...
Comment #4.0
(not verified) CreditAttribution: commentedUpdated issue summary.