On Tue, Jun 11, 2013 at 11:24:54AM +0200, Jean-Christophe Boggio wrote: > # As I understand it, RT's $TicketObj->new expects a RT::User parameter > # which will be the "CurrentUser"
It actually wants an RT::CurrentUser, but RT will do the conversion for you. > > As a side note, the RT->Init() is very long, mainly because of > RT::I18N->Init() This surprises me, what's slow and how did you profile it? You could limit the languages that RT loads, but that may not do what you want. You may also run into really weird errors depending on what parts of RT you invoke. http://bestpractical.com/rt/docs/latest/RT_Config.html#LexiconLanguages -kevin
pgp08IBASLNda.pgp
Description: PGP signature
-- RT Training in Seattle, June 19-20: http://bestpractical.com/training
