On 07/14/2012 02:54 PM, Phil Weir wrote: > The new class does not have the method num_rows, though it looks like the > method affected_rows does the same job so may be this is just a backwards > compatibility issue. rcube_contacts uses the num_rows method.
affected_rows() is not the same. It shouldn't be used for SELECT statements. I removed num_rows() because it was used only in one place and because it can be simply replaced by looping on fetch_array() if needed. rcube_contacts doesn't use num_rows() any more. -- Aleksander 'A.L.E.C' Machniak LAN Management System Developer [http://lms.org.pl] Roundcube Webmail Developer [http://roundcube.net] --------------------------------------------------- PGP: 19359DC1 @@ GG: 2275252 @@ WWW: http://alec.pl _______________________________________________ Roundcube Development discussion mailing list [email protected] http://lists.roundcube.net/mailman/listinfo/dev
