Re: imap quota broken
| From: | Jan Schneider | Date: | Thu, 01 Aug 2002 08:47:51 +0000 |
| Subject: | Re: imap quota broken | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-86408@lists.php.net to get a copy of this message | ||
OK, thanks for making that clear.
Zitat von Dan Kalowsky <dank@deadmime.org>:
> 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