Minor tip breakage in email prefs

Max Kanat-Alexander mkanat at kerio.com
Wed Mar 30 00:43:43 UTC 2005


On Tue, 2005-03-29 at 23:48 +0100, Gervase Markham wrote:
> The correct fix is probably to get checksetup.pl using Bugzilla/Template 
> properly to do the precompilation. However, last time I tried to use 
> Bugzilla::* modules in checksetup I got a stern talking-to ;-), so I'm 
> not quite sure how to go about it. Suggestions welcome.

	Hahaha. :-) In this case, that is the right solution. The trick is just
that you have to only do a "require" on Bugzilla::Template, not a "use."

	I'm fairly certain that at the template precompilation stage, it's safe
to do a require on any module, because you're already certain that you
have all the prereqs.

	-Max





More information about the developers mailing list