Jan it is possible to put a fix in to keep some backwards compatibility. I thought about this last night, and I will try to implement it today. If you would test it later today that would be nice. This solution does pollute the array, but it will make old scripts work a bit better.
On Thu, 1 Aug 2002, Jan Schneider wrote: > OK, thanks for making that clear. > > Zitat von Dan Kalowsky <[EMAIL PROTECTED]>: > > > Yes it did. Mainly because the old compatibility was wrong. > > > > In the case when a server would respond with multiple resources like so: > > > > C: A003 GETQUOTA "" > > S: * QUOTA "" (STORAGE 10 512 MESSAGE 5 256) > > > > The imap_get_quota() function would set the usage and limit values to > > that > > of the last resource. If there is more than one resource, the last value > > is NEVER the STORAGE value. The current functionality reflects the > > proper > > usage and limit values for all resources, and conforms to RFC 2087. > > > > On Thu, 1 Aug 2002, Jan Schneider wrote: > > > > > One of the lasts commits to the imap quota functions broke backward > > > compatibility with the old imap_get_quota() behaviour. > > > > > > It used to return an array like: > > > array ( 'usage' => 83090, 'limit' => 100000, ) > > > but now returns an array like: > > > array ( 'STORAGE' => array ( 'usage' => 83090, 'limit' => 100000, ), ) > > Jan. > > -- > http://www.horde.org - The Horde Project > http://www.ammma.de - discover your knowledge > http://www.tip4all.de - Deine private Tippgemeinschaft > >---------------------------------------------------------------< Dan Kalowsky "A little less conversation, http://www.deadmime.org/~dank a little more action." [EMAIL PROTECTED] - "A Little Less Conversation", [EMAIL PROTECTED] Elvis Presley -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php