[dev] [cvs] commit: whups/lib Driver.php
Michael Rubinsky
mike at theupstairsroom.com
Tue Nov 27 19:06:12 UTC 2007
Quoting Jan Schneider <jan at horde.org>:
> Zitat von Michael Rubinsky <mike at theupstairsroom.com>:
>
>> mrubinsk 2007-11-27 13:12:22 EST
>>
>> Modified files:
>> lib Driver.php
>> Log:
>> Revert this (sort of) - still call the api to allow other apps to provide
>> the ticket queue, but change the assumption about the data type returned
>> to be in line with our current api code.
>>
>> Jan - does this make sense, or should we assume another data structure?
>
> Yes, but getQueuesInternal() (called through tickets/listQueues)
> already *does* put the queued ids into the keys, using DB::getAssoc().
The problem, though is that when this is called through rpc.php the
data that is returned is just an array of the queue names - the
original numeric keys are lost, and the array is re-indexed.
Currently, if you call list() and listQueues() both through our rpc
server, you get back the same results. The proper data *is* returned
when called via $registry->call() though.
Thanks,
mike
--
The Horde Project (www.horde.org)
mrubinsk at horde.org
"Time just hates me. That's why it made me an adult." - Josh Joplin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-keys
Size: 2013 bytes
Desc: PGP Public Key
Url : http://lists.horde.org/archives/dev/attachments/20071127/d72b8b83/attachment.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: PGP Digital Signature
Url : http://lists.horde.org/archives/dev/attachments/20071127/d72b8b83/attachment-0001.bin
More information about the dev
mailing list