[cvs] commit: imp/lib Message.php Search.php imp mailbox.php
message.php
Michael M Slusarz
slusarz@bigworm.colorado.edu
Wed, 17 Jul 2002 12:37:10 -0700 (PDT)
slusarz 2002/07/17 12:37:09 PDT
Modified files:
lib Search.php Message.php
. mailbox.php message.php
Log:
* We don't need $imp['msgcount'] anymore; use $imp_message->getMessageCount()
instead.
* There was some horribly inefficient IMAP calls when building the mailbox
list - a simple call to $imp_message->getSortedIndex() is really all we need.
I am currently working on a IMP_Mailbox:: class which will be used to
build the mailbox lists. This will be integrated with Cache_session to allow
use to cache mailbox data so there will be no need to rebuild the mailbox
list every time we view a page (a potentially costly,
time-consuming operation) if the mailbox has not changed. This still has
quite some work to be done, however.
Revision Changes Path
1.94 +26 -16 imp/lib/Message.php
1.3 +2 -4 imp/lib/Search.php
2.396 +18 -33 imp/mailbox.php
2.383 +2 -2 imp/message.php
Chora Links:
http://cvs.horde.org/diff.php/imp/lib/Message.php?r1=1.93&r2=1.94&ty=u
http://cvs.horde.org/diff.php/imp/lib/Search.php?r1=1.2&r2=1.3&ty=u
http://cvs.horde.org/diff.php/imp/mailbox.php?r1=2.395&r2=2.396&ty=u
http://cvs.horde.org/diff.php/imp/message.php?r1=2.382&r2=2.383&ty=u