[rt-users] Remove requestor on create?

Stephen Turner sturner at MIT.EDU
Wed Dec 19 10:22:50 EST 2007


At Tuesday 12/18/2007 03:20 PM, Kenneth Crocker wrote:

># set Creator to "Nobody"
>
>$Trans->SetCreatorId(10, 'Force');

Kenn,

I know this is picky, but it's probably better to use $RT::Nobody->Id 
than 10 - there's no guarantee that the Nobody Id will always be 10 
in the future. Plus it makes the code a bit more self-commenting.

Steve 




More information about the rt-users mailing list