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

CommentFileSizeAuthor
location_views.module_1.patch4.52 KBsmk-ka
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

geodaniel’s picture

Project: Location » Location Views
Version: 5.x-1.x-dev »

Thanks for the patch Stefan - just moving this over to the right issue queue