[imp] More efficient way of getting IMAP quota?
Jan Schneider
jan at horde.org
Tue Nov 18 13:10:27 PST 2003
Zitat von Richard Gilbert <R.Gilbert at sheffield.ac.uk>:
> While looking at ways to add authorisation to the login process I came
> across the fact that from PHP version 4.3.0 there is a new function
> imap_get_quotaroot which gets the quota for the currently logged in user.
> This means it is not necessary to do an extra log in as the admin user.
> I have used this to replace the suggested code (IMP 3.2.2):
That's how we do it in HEAD. A clean patch to the old quota hook would be
great, as long as it keeps the old version as a fallback (or simply as
another hook example).
Jan.
--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft
More information about the imp
mailing list