Hi, the function list_identities() confuses me a little. The
description claims it returns an array with identities (which would be
what id like), but it's actually returning an sql result, which you
have to pull through an sql fetch yourself. Looking through the code
for the use of list_identities() all instances are indeed calling
their own fetch_assoc on it. Why isnt the sql fetching done inside
list_identities() so that function actually returns an array?
Regards,
Cor
List info: http://lists.roundcube.net/dev/
On Fri, Jun 5, 2009 at 15:44, Cor Bosmancor@xs4all.nl wrote:
Hi, the function list_identities() confuses me a little. The description claims it returns an array with identities (which would be what id like), but it's actually returning an sql result, which you have to pull through an sql fetch yourself. Looking through the code for the use of list_identities() all instances are indeed calling their own fetch_assoc on it. Why isnt the sql fetching done inside list_identities() so that function actually returns an array?
Seems like we didn't finish some refactoring here... Thanks for the hint, I'll take care of that.
Regards, Thomas _______________________________________________ List info: http://lists.roundcube.net/dev/