On Thu, Apr 30, 2009 at 3:24 PM, Remy Blank <[email protected]> wrote: > Erik Bray wrote: >> My guess would be that it's just not actually needed in most >> templates. I've never needed it. Maybe the value of a few individual >> config options here and there, but never the entire Environment >> object. OTOH I don't see how it could hurt. > > Could it be that this was done on purpose to discourage side-effects in > templates? >
That's a good point. If you have a reference to the env, the template could get a DB connection. Definitely not something anyone should be doing. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Development" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/trac-dev?hl=en -~----------~----~----~----~------~----~------~--~---
