Creation/Location of *Local.pm files

I want to modify the GetCurrentUser sub in EmailParser.pm. I copied just
that sub to a file called EmailParser_Local.pm and placed it in the same
directory as EmailParser.pm. I then ran scenarios that should call the
modifications that I made, but EmailParser_Local is not even being touched
by the program. Have I done this correctly? If so, what are some things I
can look at to determine why it is not working? If not, what are the
correct steps to making site modifications?

Thanks,

Tyler Hepworth

I think GetCurrenUser has been deleted in one of the last versions from Jesse.
It is somewhere else, try to grep “sub CetCurrentUser” in your Rt directory.

Samuel-----Original Message-----
From: Tyler Hepworth [mailto:TylerH@natr.com]
Sent: Monday,29 March,2004 18:12
To: ‘rt-users@lists.bestpractical.com’
Subject: [rt-users] Creation/Location of *Local.pm files

I want to modify the GetCurrentUser sub in EmailParser.pm. I copied just that sub to a file called EmailParser_Local.pm and placed it in the same directory as EmailParser.pm. I then ran scenarios that should call the modifications that I made, but EmailParser_Local is not even being touched by the program. Have I done this correctly? If so, what are some things I can look at to determine why it is not working? If not, what are the correct steps to making site modifications?

Thanks,

Tyler Hepworth
rt-users mailing list
rt-users@lists.bestpractical.com
http://lists.bestpractical.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

I am using version 3.0.9-2 installed via Debian package. GetCurrentUser is
in EmailParser.pm. I lifted it directly from there into
EmailParser_Local.pm.

Tyler

EmailError and GetcurrentUser have been removed on subversion, this means that in 3.0.9 it’s unused code, in 3.0.10 it has been removed.
I don’t exactly remember what function did getcurrentuser, and I don’t know what you want to do with this new code.
Anyway if it is for the approvation of new mails you can find it in your RT Lib RT/Interface/Email/Auth/MailFrom.pm probably.

Samuel