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.
site_verify_load() gets called multiple times and it performs a db_query each time. We could get a minor performance improvement by making use of drupal_static().
Format patch attached.
Comment | File | Size | Author |
---|---|---|---|
#1 | site_verify-drupal-static-2394355-1.patch | 1.18 KB | gabesullice |
Comments
Comment #1
gabesulliceComment #2
Chris Matthews CreditAttribution: Chris Matthews commentedThe 4 year old patch to site_verify.module applied cleanly to the latest 7.x-1.x-dev. I'm changing the status to RTBC as even a minor performance improvement is welcomed.