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.
location_views.module must not use t() in global context, as in define('LOCATION_VIEWS_UNKNOWN', t('unknown'));
.
This, together with the locale.module, causes a performance degradation due to the fact the locale system isn't properly initialized then. Read more about this issue here. The patch moves the t() invocation from the global context into the functions, where the constant is accessed.
--
Stefan Kudwien
www.unleashedmind.com
Comment | File | Size | Author |
---|---|---|---|
location_views.module_1.patch | 4.52 KB | smk-ka |
Comments
Comment #1
geodaniel CreditAttribution: geodaniel commentedThanks for the patch Stefan - just moving this over to the right issue queue