This causes a huge DB write on EVERY page load. Not good at all.

Move the constant definition to location_views_menu();

CommentFileSizeAuthor
location_t_before_code.patch1.58 KBJacobSingh

Comments

douggreen’s picture

This makes sense to me. You shouldn't call t() outside a function.

bdragon’s picture

Uh, this is a duplicate of #135747, which is fixed in HEAD..

douggreen’s picture

Status: Active » Closed (duplicate)