API calls

Nathan Mills <[email protected]> Fri, 2 Feb 2007 01:06:23 -0600
Newsgroups gmane.comp.horde.whups
Message-ID <[email protected]>
Is there a particular reason that the show method only has a link  
parameter, rather than being fully implemented like the rest? It would  
be handy for XML-RPC.

I went ahead and patched it and it seems to work fine using the most  
simplest code I can think of:

function _whups_show($id)
{
     require_once dirname(__FILE__) . '/base.php';
     global $whups, $registry;

     $result = $whups->getTicketDetails($id, true);

     return $result;
}

Is there a reason why that won't work?


-- 
Whups mailing list - Join the hunt: http://horde.org/bounties/#whups
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]