[rt-devel] New mail on a ticket indication

Travis Campbell travis.campbell at amd.com
Mon Jan 7 16:28:58 EST 2002


Travis
On Mon, Jan 07, 2002 at 06:57:01PM +0000, Daniel Foster wrote:
> 
> Thanks - it's not quite what I need though.  I don't really care when a 
> ticket was last updated so much as who did the updating.  If the last 
> person to update was a member of our support staff than the ticket doesn't 
> need attention.  If it was the requestor then the ticket needs reviewing.
> 


$Ticket->IsRequestor($Ticket->LastUpdatedByObj)

This returns true or false depending on if the ticket was last updated by
someone who is a requestor.  I don't know what this will do if there
are multiple requestors listed for a ticket.

Travis
-- 
 Travis Campbell  -  Unix Systems Administrator =      travis at beast.amd.com
    5900 E. Ben White Blvd, Austin, TX 78741    =   travis.campbell at amd.com
    TEL: (512) 602-1888  PAG: (512) 604-0341    =   webmaster at beast.amd.com 
============================================================================
      "Does anything work as expected?"  Yes.  An axe through the CPU.





More information about the Rt-devel mailing list