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 A
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)
>
>
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.
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' => 10, )
but now returns an array like:
array ( 'STORAGE' => array ( 'usage' => 83090, 'limit' => 1